-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
41 lines (32 loc) · 1 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
plugins {
id 'application'
id 'jacoco'
id 'com.diffplug.spotless' version '6.13.0'
}
application {
mainClass = 'jp.skypencil.Main'
}
apply from: "$rootDir/gradle/jacoco.gradle"
apply from: "$rootDir/gradle/spotless.gradle"
apply from: "$rootDir/gradle/publish.gradle"
version = '0.1.0-SNAPSHOT'
tasks.withType(JavaCompile) {
options.release = 8
}
repositories { mavenCentral() }
ext {
junitVersion = '5.9.2'
guavaVersion = '31.1-jre'
immutablesVersion = '2.9.3'
}
dependencies {
compile 'org.ow2.asm:asm-analysis:9.5'
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
compileOnly "org.immutables:value:${immutablesVersion}:annotations"
annotationProcessor "org.immutables:value:${immutablesVersion}"
testCompile "com.google.guava:guava:${guavaVersion}"
testCompile "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}
test { useJUnitPlatform() }
defaultTasks 'spotlessApply', 'build'