forked from xebialabs-community/xld-advanced-command-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (30 loc) · 800 Bytes
/
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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id "com.github.hierynomus.license" version "0.13.1"
id "com.xebialabs.xldp" version "1.0.5"
id "com.xebialabs.xl.docker" version "1.0.0"
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'maven'
xlDocker {
compileImage = 'xebialabs/xld_dev_compile'
compileVersion = 'v6.1.0.1'
runImage = 'xebialabs/xld_dev_run'
runVersion = 'v6.1.0.1'
runPortMapping = '14516:4516'
}
version="3.2.1"
processResources.configure {
filter ReplaceTokens, tokens: [
'project.version': version.toString(),
'project.name': rootProject.name
]
}
license {
header rootProject.file('License.md')
strictCheck false
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.name = 'XEBIALABS'
}