-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
46 lines (37 loc) · 1018 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
46
plugins {
id 'java'
}
apply plugin: 'application'
apply plugin: 'jacoco'
mainClassName = "com.olipro.utils.Coverify"
group 'com.olipro.utils'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.10
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'org.testng', name: 'testng', version: '6.14.3'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
//compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
compile group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.0.1'
compile group: 'javax.activation', name: 'javax.activation-api', version: '1.2.0'
}
test {
useTestNG()
}
jacocoTestReport {
reports {
xml.enabled true
}
}
jar {
manifest {
attributes("Implementation-Title": "Coverify",
"Main-Class": mainClassName,
"Implementation-Version": version)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}