diff options
Diffstat (limited to 'checker/build.gradle.kts')
| -rw-r--r-- | checker/build.gradle.kts | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/checker/build.gradle.kts b/checker/build.gradle.kts index 08e9b33..536cef9 100644 --- a/checker/build.gradle.kts +++ b/checker/build.gradle.kts | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | plugins { | 1 | plugins { |
| 2 | java | 2 | id("orang.java-conventions") |
| 3 | id("io.freefair.lombok") version "8.6" | ||
| 4 | } | ||
| 5 | |||
| 6 | val slf4jVersion = "2.0.13" | ||
| 7 | |||
| 8 | repositories { | ||
| 9 | mavenCentral() | ||
| 10 | } | 3 | } |
| 11 | 4 | ||
| 12 | dependencies { | 5 | dependencies { |
| 13 | implementation("org.slf4j:slf4j-api:$slf4jVersion") | ||
| 14 | |||
| 15 | implementation(project(":ast")) | 6 | implementation(project(":ast")) |
| 16 | implementation(project(":core")) | 7 | implementation(project(":core")) |
| 17 | implementation(project(":utils")) | 8 | implementation(project(":utils")) |
| 18 | } | 9 | } |
| 19 | |||
| 20 | java { | ||
| 21 | sourceCompatibility = JavaVersion.VERSION_22 | ||
| 22 | targetCompatibility = JavaVersion.VERSION_22 | ||
| 23 | toolchain { | ||
| 24 | languageVersion = JavaLanguageVersion.of(22) | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | tasks.withType<JavaCompile> { | ||
| 29 | options.compilerArgs.add("--enable-preview") | ||
| 30 | } \ No newline at end of file | ||