-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 1.15 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id "com.github.hierynomus.license" version "0.14.0"
id "com.xebialabs.xldp" version "1.0.5"
id 'nebula.release' version '13.1.0'
id "com.xebialabs.xl.docker" version "1.1.0"
id "com.github.hierynomus.jython" version "0.11.0"
}
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'maven'
dependencies {
compile group: 'com.xebialabs.overthere', name: 'overtherepy', version: '0.0.4'
//it exists a dependency with the 'InputSupplier' class in overtherpy. 19.0 is the latest version including this class.
compile group: 'com.google.guava', name: 'guava', version: '19.0'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://dist.xebialabs.com/public/maven2'
}
}
processResources.configure {
from 'src/main/config'
filter ReplaceTokens, tokens: [
'project.version': version.toString(),
'project.name' : rootProject.name
]
}
license {
header rootProject.file('License.md')
strictCheck true
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.name = 'XEBIALABS'
}