summaryrefslogtreecommitdiff
path: root/ast/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'ast/build.gradle.kts')
-rw-r--r--ast/build.gradle.kts20
1 files changed, 20 insertions, 0 deletions
diff --git a/ast/build.gradle.kts b/ast/build.gradle.kts
new file mode 100644
index 0000000..357e080
--- /dev/null
+++ b/ast/build.gradle.kts
@@ -0,0 +1,20 @@
1plugins {
2 java
3}
4
5dependencies {
6 implementation(project(":core"))
7 implementation(project(":utils"))
8}
9
10java {
11 sourceCompatibility = JavaVersion.VERSION_22
12 targetCompatibility = JavaVersion.VERSION_22
13 toolchain {
14 languageVersion = JavaLanguageVersion.of(22)
15 }
16}
17
18tasks.withType<JavaCompile> {
19 options.compilerArgs.add("--enable-preview")
20} \ No newline at end of file