blob: 5022de89e828d140e5b992f47d8f0d7e2ee06269 (
plain) (
blame)
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
|
plugins {
java
id("io.freefair.lombok")
}
group = "lv.enes.orang"
version = "0.1-SNAPSHOT"
repositories {
mavenCentral()
}
val slf4jVersion = project.property("slf4jVersion")
val jakartaAnnotationVersion = project.property("jakartaAnnotationVersion")
dependencies {
implementation("org.slf4j:slf4j-api:$slf4jVersion")
implementation("jakarta.annotation:jakarta.annotation-api:$jakartaAnnotationVersion")
}
java {
sourceCompatibility = JavaVersion.VERSION_22
targetCompatibility = JavaVersion.VERSION_22
toolchain {
languageVersion = JavaLanguageVersion.of(22)
}
}
tasks.withType<JavaCompile> {
options.compilerArgs.add("--enable-preview")
}
|