summaryrefslogtreecommitdiff
path: root/ast/build.gradle.kts
blob: 357e080cb0c599e837eef3cf3b72bd409acd4547 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
plugins {
    java
}

dependencies {
    implementation(project(":core"))
    implementation(project(":utils"))
}

java {
    sourceCompatibility = JavaVersion.VERSION_22
    targetCompatibility = JavaVersion.VERSION_22
    toolchain {
        languageVersion = JavaLanguageVersion.of(22)
    }
}

tasks.withType<JavaCompile> {
    options.compilerArgs.add("--enable-preview")
}