-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
63 lines (52 loc) · 1.14 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
54
55
56
57
58
59
60
61
62
63
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'jacoco'
id 'maven-publish'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation files('libs/auc-0.3.1.jar')
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
}
group = 'edu.wisc.cs.will'
version = '0.3.0'
description = 'SRLBoost'
java.sourceCompatibility = JavaVersion.VERSION_1_8
jar {
manifest {
attributes 'Main-Class': 'edu.wisc.cs.will.Boosting.Common.RunBoostedModels'
}
from provider {
zipTree(configurations.compileClasspath.filter {
it.name == 'auc-0.3.1.jar'
}.singleFile)
}
}
javadoc {
source = sourceSets.main.allJava
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}