/
build.gradle
88 lines (73 loc) · 2.58 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
plugins {
id "com.xebialabs.xldp" version "1.0.5"
id "com.github.hierynomus.license" version "0.14.0"
id "com.xebialabs.xl.docker" version "1.1.0"
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
xlDocker {
compileImage = 'xebialabs/xld_dev_compile'
compileVersion = 'v6.2.1.1'
runImage = 'xebialabs/xld_dev_run'
runVersion = 'v6.2.1.1'
runPortMapping = '14516:4516'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '6.0.0-alpha3'
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://dist.xebialabs.com/public/maven2'
}
}
sourceSets.main.resources.srcDirs = ["src/main/jython", "src/main/resources"]
sourceSets.test.resources.srcDirs = ["src/test/jython", "src/test/resources"]
project.ext {
azureSdkVersion = "0.9.7"
apiVersion = "2017.4.0"
}
dependencies {
compile "com.xebialabs.deployit:udm-plugin-api:$apiVersion"
compile "com.microsoft.azure:azure-mgmt-websites:${azureSdkVersion}"
compile "com.microsoft.azure:azure-servicebus:${azureSdkVersion}"
compile "com.microsoft.azure:azure-serviceruntime:${azureSdkVersion}"
compile "com.microsoft.azure:azure-mgmt-utility:${azureSdkVersion}"
compile 'com.squareup.okhttp3:okhttp:3.4.2'
compile 'com.google.guava:guava:19.0'
distBundle "com.microsoft.azure:azure-mgmt-utility:${azureSdkVersion}"
distBundle "com.microsoft.azure:azure-mgmt-websites:${azureSdkVersion}"
distBundle "com.microsoft.azure:azure-servicebus:${azureSdkVersion}"
distBundle "com.microsoft.azure:azure-serviceruntime:${azureSdkVersion}"
distBundle 'com.squareup.okhttp3:okhttp:3.4.2'
testCompile 'junit:junit:4.12'
testCompile 'org.slf4j:slf4j-log4j12:1.7.25'
testCompile 'log4j:log4j:1.2.17'
testCompile 'org.python:jython-standalone:2.7.0'
}
configurations {
distBundle.exclude module: 'commons-io'
distBundle.exclude module: 'jackson-core'
distBundle.exclude module: 'httpclient'
distBundle.exclude module: 'javax.inject'
distBundle.exclude module: 'commons-codec'
distBundle.exclude module: 'commons-lang'
distBundle.exclude module: 'httpcore'
distBundle.exclude module: 'activation'
distBundle.exclude module: 'org.codehaus.jettison:jettison'
distBundle.exclude module: 'jaxb-impl'
distBundle.exclude module: 'jaxb-api'
distBundle.exclude module: 'slf4j-api'
distBundle.exclude module: 'jcip-annotations'
distBundle.exclude module: 'bcprov-jdk15on'
distBundle.exclude module: 'mail'
}
license {
header rootProject.file('License.md')
strictCheck false
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.name = 'XEBIALABS'
}