-
Notifications
You must be signed in to change notification settings - Fork 39
/
build.gradle
40 lines (33 loc) · 985 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
plugins {
id 'java-library'
}
group = 'com.saasquatch'
version = '1.0-SNAPSHOT'
java {
registerFeature('builtInFormatInferrerSupport') {
usingSourceSet(sourceSets.main)
}
}
tasks.compileJava.options.encoding = 'UTF-8'
tasks.compileTestJava.options.encoding = 'UTF-8'
tasks.javadoc.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.1'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
api 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
builtInFormatInferrerSupportImplementation 'commons-validator:commons-validator:1.8.0'
testImplementation 'com.networknt:json-schema-validator:1.1.0'
testImplementation 'com.google.guava:guava:33.0.0-jre'
}
tasks.test {
useJUnitPlatform()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}