-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
50 lines (39 loc) · 1.15 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
50 lines (39 loc) · 1.15 KB
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 {
java
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation("io.netty:netty5-all:5.0.0.Alpha2")
compileOnly("io.soabase.record-builder:record-builder-core:33")
annotationProcessor("io.soabase.record-builder:record-builder-processor:33")
implementation("org.apache.logging.log4j:log4j-api:2.17.2")
implementation("org.apache.logging.log4j:log4j-core:2.17.2")
implementation("com.github.jsqlparser:jsqlparser:4.4")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
}
group = "com.github.gavinray97"
version = "1.0.0-SNAPSHOT"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(19))
}
}
tasks {
withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
options.compilerArgs.add("-parameters")
options.compilerArgs.add("--enable-preview")
}
withType<JavaExec>().configureEach {
systemProperty("file.encoding", "UTF-8")
jvmArgs("--enable-preview")
}
withType<Test> {
useJUnitPlatform()
systemProperty("file.encoding", "UTF-8")
jvmArgs("--enable-preview")
}
}