-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
53 lines (45 loc) · 1.24 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
plugins {
id 'groovy'
id 'maven'
id 'jacoco'
}
group 'org.arkecosystem.client'
version '0.1.0'
repositories {
jcenter()
}
task createPom {
doLast {
pom {
project {
groupId 'org.arkecosystem.client'
version '0.1.0'
artifactId 'arkecosystem-client'
licenses {
license {
name 'MIT'
distribution 'repo'
}
}
}
}.writeTo("$buildDir/libs/arkecosystem-client-0.1.0.pom")
}
}
dependencies {
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.1'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.11.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
testCompile group: 'org.spockframework', name: 'spock-core', version: '1.1-groovy-2.4'
testCompile group: 'junit', name: 'junit', version: '4.12'
// Build blows up without this?
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.9'
}