summaryrefslogtreecommitdiff
path: root/checker/build.gradle.kts
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-08-19 16:41:14 +0800
committerGravatar Uko Kokņevičs2024-08-19 16:41:14 +0800
commit1c9cc15d6c07cc18c3521563ecccc6d114b2c5a9 (patch)
treedd6b1ed322b27000eed263850ed25f2315957d57 /checker/build.gradle.kts
parentAdded a checker module. (diff)
downloadorang-1c9cc15d6c07cc18c3521563ecccc6d114b2c5a9.tar.gz
orang-1c9cc15d6c07cc18c3521563ecccc6d114b2c5a9.tar.xz
orang-1c9cc15d6c07cc18c3521563ecccc6d114b2c5a9.zip
Simplify build scripts
Diffstat (limited to 'checker/build.gradle.kts')
-rw-r--r--checker/build.gradle.kts23
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 @@
1plugins { 1plugins {
2 java 2 id("orang.java-conventions")
3 id("io.freefair.lombok") version "8.6"
4}
5
6val slf4jVersion = "2.0.13"
7
8repositories {
9 mavenCentral()
10} 3}
11 4
12dependencies { 5dependencies {
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
20java {
21 sourceCompatibility = JavaVersion.VERSION_22
22 targetCompatibility = JavaVersion.VERSION_22
23 toolchain {
24 languageVersion = JavaLanguageVersion.of(22)
25 }
26}
27
28tasks.withType<JavaCompile> {
29 options.compilerArgs.add("--enable-preview")
30} \ No newline at end of file