diff options
| author | 2024-08-19 01:15:51 +0800 | |
|---|---|---|
| committer | 2024-08-19 01:15:51 +0800 | |
| commit | ce423971e6ea3b4126806eea4b6874daee9f07b2 (patch) | |
| tree | e412ed023e405f7bb7ddc915f14ffa07469aceec /checker/build.gradle.kts | |
| parent | Changed the grammar to allow bare top-level expressions only in REPL. (diff) | |
| download | orang-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.kts | 30 |
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 @@ | |||
| 1 | plugins { | ||
| 2 | java | ||
| 3 | id("io.freefair.lombok") version "8.6" | ||
| 4 | } | ||
| 5 | |||
| 6 | val slf4jVersion = "2.0.13" | ||
| 7 | |||
| 8 | repositories { | ||
| 9 | mavenCentral() | ||
| 10 | } | ||
| 11 | |||
| 12 | dependencies { | ||
| 13 | implementation("org.slf4j:slf4j-api:$slf4jVersion") | ||
| 14 | |||
| 15 | implementation(project(":ast")) | ||
| 16 | implementation(project(":core")) | ||
| 17 | implementation(project(":utils")) | ||
| 18 | } | ||
| 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 | ||