-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (32 loc) · 890 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
plugins {
id 'java'
id 'jacoco'
id 'application'
id 'com.palantir.graal' version '0.12.0'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'info.picocli:picocli:4.1.0'
annotationProcessor 'info.picocli:picocli-codegen:4.1.0'
testImplementation "org.mockito:mockito-core:2.+"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
options.compilerArgs += ["-Aproject=${project.name}"]
}
application {
mainClass.set( 'net.sonofgarr.dirty.App')
}
test {
useJUnitPlatform()
}
graal {
mainClass 'net.sonofgarr.dirty.App'
outputName 'dirty'
option '-H:IncludeResources=.*/projects.build.gradle$ -H:Log=registerResource:'
}