-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
72 lines (61 loc) · 1.53 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
64
65
66
67
68
69
70
71
72
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'jacoco'
id 'maven-publish'
}
group = 'com.github.kbase'
repositories {
mavenCentral()
}
compileJava {
// TODO BUILD remove when we no longer support java 8, use `options.release = 11` if needed
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8
}
java {
withSourcesJar()
withJavadocJar()
}
test {
testLogging {
exceptionFormat = 'full'
showStandardStreams = true
}
finalizedBy jacocoTestReport
}
jacocoTestReport {
reports {
xml.required = true
csv.required = true
}
}
javadoc {
failOnError = false // hamcrest 1.1. causes this to fail
options {
// I don't know why this isn't working, but it's not worth spending time on right now
links "https://docs.oracle.com/javase/8/docs/api/"
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
dependencies {
// using older dependencies to not force upgrades on repos that might not be able to
// handle them. Need to upgrade the services and then upgrade here
implementation 'junit:junit:4.9'
implementation 'org.slf4j:slf4j-api:1.7.7'
implementation 'ch.qos.logback:logback-classic:1.1.2'
implementation 'commons-io:commons-io:2.4'
implementation "com.fasterxml.jackson.core:jackson-databind:2.9.9"
implementation 'org.apache.commons:commons-lang3:3.1'
implementation 'com.google.guava:guava:18.0'
implementation 'org.ini4j:ini4j:0.5.2'
implementation 'com.github.zafarkhaja:java-semver:0.9.0'
}