-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (42 loc) · 1.03 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
plugins {
id 'application'
}
group = 'org.kjy5'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
application {
mainClass = 'org.kjy5.Main'
// Enable preview features.
applicationDefaultJvmArgs = ['--enable-preview']
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
// GumTree Diff + JavaParser client.
implementation 'com.github.gumtreediff:client:4.0.0-beta2'
implementation 'com.github.gumtreediff:core:4.0.0-beta2'
implementation 'com.github.gumtreediff:gen.javaparser:4.0.0-beta2'
}
test {
useJUnitPlatform()
}
// Configuration for Javac-parse.
run {}
compileJava {
// Enable preview features.
options.compilerArgs += '--enable-preview'
sourceCompatibility = '21'
targetCompatibility = '21'
}
compileTestJava {
// Enable preview features.
options.compilerArgs += '--enable-preview'
sourceCompatibility = '21'
targetCompatibility = '21'
}
javadoc {
options {
}
}