-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
45 lines (38 loc) · 995 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
37
38
39
40
41
42
43
44
45
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id "com.github.hierynomus.license" version "0.14.0"
id "com.xebialabs.xldp" version "1.0.5"
id 'com.github.hierynomus.jython' version '0.11.0'
id 'pl.allegro.tech.build.axion-release' version '1.10.2'
}
dependencies {
jython ":onetimepass:1.0.1"
jython ":certifi:2019.9.11"
jython ":chardet:3.0.4"
jython ":idna:2.8"
jython ":requests:2.22.0"
jython ":requests_toolbelt:0.9.1"
jython ":urllib3:1.25.7"
}
license {
header rootProject.file('License.md')
ignoreFailures = true
strictCheck = false
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.name = 'XEBIALABS'
}
scmVersion {
tag {
prefix = 'v'
versionSeparator = ''
}
}
project.version = scmVersion.version
processResources.configure {
filter ReplaceTokens, tokens: [
'project.version': version.toString(),
'project.name' : rootProject.name
]
}
project.tasks.release.dependsOn(project.tasks.build)