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 {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = 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"
|
2023-09-14 19:11:55 +00:00
|
|
|
implementation "org.antlr:antlr4-runtime:4.13.1"
|
2023-07-06 21:13:00 +00:00
|
|
|
implementation "com.michael-bull.kotlin-result:kotlin-result-jvm:1.1.18"
|
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
|
|
|
}
|