-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (47 loc) · 1.68 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id "com.palantir.docker" version "0.34.0"
id 'com.palantir.docker-compose' version "0.34.0"
}
ext {
interlokParentGradle = project.findProperty('interlokParentGradle') ?: 'https://raw.githubusercontent.com/adaptris/interlok-build-parent/main/v4/build.gradle'
dockerImageName = project.findProperty('dockerImageName') ?: "adaptrislabs/interlok-solace"
dockerImageTag = project.findProperty('dockerImageVersion') ?: "latest"
buildEnv=project.findProperty("buildEnv") ?: "docker"
solaceVersion='10.15.0'
includeWar='true'
// license-{buildEnv}.properties needs to be copied.
additionalTemplatedProperties = [
'license'
]
// Ensure variable substitutions work for 'check'
interlokVerifyEnvironmentProperties = [
SOLACE_HOST: "localhost",
SOLACE_PORT: "55555",
SOLACE_USER: "admin",
SOLACE_PASSWORD: "admin"
]
}
allprojects {
apply from: "${interlokParentGradle}"
}
dependencies {
interlokRuntime ("com.adaptris:interlok-solace:$interlokVersion") { changing= true}
interlokRuntime ("com.adaptris:interlok-xa-jms:$interlokVersion") { changing=true }
interlokRuntime ("com.adaptris:interlok-xa-solace:$interlokVersion") { changing=true }
interlokRuntime ("com.solacesystems:sol-jms:$solaceVersion")
interlokRuntime ("com.solacesystems:sol-common:$solaceVersion")
interlokRuntime ("com.solacesystems:sol-jcsmp:$solaceVersion")
interlokRuntime ("org.fusesource.jansi:jansi:2.4.0")
}
docker {
name dockerImageName
tags dockerImageTag
copySpec.into("./build/distribution").from(installDist)
pull true
noCache true
}
dockerCompose {
dockerComposeFile "docker-compose.yml"
}
docker.dependsOn check, assemble
// dockerComposeUp.dependsOn docker