summaryrefslogtreecommitdiff
path: root/checker/build.gradle.kts
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-08-19 01:15:51 +0800
committerGravatar Uko Kokņevičs2024-08-19 01:15:51 +0800
commitce423971e6ea3b4126806eea4b6874daee9f07b2 (patch)
treee412ed023e405f7bb7ddc915f14ffa07469aceec /checker/build.gradle.kts
parentChanged the grammar to allow bare top-level expressions only in REPL. (diff)
downloadorang-ce423971e6ea3b4126806eea4b6874daee9f07b2.tar.gz
orang-ce423971e6ea3b4126806eea4b6874daee9f07b2.tar.xz
orang-ce423971e6ea3b4126806eea4b6874daee9f07b2.zip
Added a checker module.
NOTE: I think I should look at guava or commons for some sort of sealable Map instead of the current Scope :D
Diffstat (limited to 'checker/build.gradle.kts')
-rw-r--r--checker/build.gradle.kts30
1 files changed, 30 insertions, 0 deletions
diff --git a/checker/build.gradle.kts b/checker/build.gradle.kts
new file mode 100644
index 0000000..08e9b33
--- /dev/null
+++ b/checker/build.gradle.kts
@@ -0,0 +1,30 @@
1plugins {
2 java
3 id("io.freefair.lombok") version "8.6"
4}
5
6val slf4jVersion = "2.0.13"
7
8repositories {
9 mavenCentral()
10}
11
12dependencies {
13 implementation("org.slf4j:slf4j-api:$slf4jVersion")
14
15 implementation(project(":ast"))
16 implementation(project(":core"))
17 implementation(project(":utils"))
18}
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