2021-02-09 00:06:11 +00:00
|
|
|
plugins {
|
2021-11-07 16:25:53 +00:00
|
|
|
id "java"
|
2021-06-13 16:10:07 +00:00
|
|
|
id "org.jetbrains.kotlin.jvm"
|
2021-02-09 00:06:11 +00:00
|
|
|
}
|
|
|
|
|
2021-10-30 10:01:52 +00:00
|
|
|
java {
|
2024-05-18 18:25:44 +00:00
|
|
|
targetCompatibility = JavaLanguageVersion.of(javaVersion)
|
|
|
|
sourceCompatibility = JavaLanguageVersion.of(javaVersion)
|
2021-02-09 00:06:11 +00:00
|
|
|
}
|
|
|
|
|
2021-12-04 17:36:47 +00:00
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = javaVersion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = javaVersion
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-09 00:06:11 +00:00
|
|
|
dependencies {
|
2022-03-10 22:08:41 +00:00
|
|
|
implementation project(':codeCore')
|
2021-12-04 17:36:47 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
2024-08-19 10:47:18 +00:00
|
|
|
implementation "org.antlr:antlr4-runtime:4.13.2"
|
2024-05-12 01:02:54 +00:00
|
|
|
implementation "com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0"
|
2021-02-09 00:06:11 +00:00
|
|
|
implementation project(':parser')
|
2021-06-13 16:10:07 +00:00
|
|
|
}
|
2021-06-13 12:59:57 +00:00
|
|
|
|
2021-06-13 16:10:07 +00:00
|
|
|
configurations.all {
|
|
|
|
exclude group: 'com.ibm.icu', module: 'icu4j'
|
2021-02-09 00:06:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
2023-09-08 19:29:49 +00:00
|
|
|
srcDir "${project.projectDir}/src"
|
2021-10-12 19:32:47 +00:00
|
|
|
}
|
2021-02-09 00:06:11 +00:00
|
|
|
}
|
2021-06-13 12:59:57 +00:00
|
|
|
}
|