2023-01-15 06:04:37 +01:00
|
|
|
apply plugin: "java-library"
|
|
|
|
apply plugin: "kotlin"
|
2018-01-27 12:00:44 +01:00
|
|
|
|
2020-09-08 22:17:32 +02:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2021-11-06 04:00:29 +01:00
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = jvm_target
|
|
|
|
freeCompilerArgs += [
|
2023-01-14 12:20:24 +01:00
|
|
|
"-opt-in=kotlin.ExperimentalStdlibApi",
|
2021-11-06 04:00:29 +01:00
|
|
|
]
|
|
|
|
}
|
2023-01-14 12:20:24 +01:00
|
|
|
}
|
2021-11-06 04:00:29 +01:00
|
|
|
|
2023-01-14 12:20:24 +01:00
|
|
|
dependencies {
|
2023-01-15 06:04:37 +01:00
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
2023-01-14 12:20:24 +01:00
|
|
|
//noinspection DifferentStdlibGradleVersion
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2023-01-17 13:42:47 +01:00
|
|
|
|
2023-01-14 12:20:24 +01:00
|
|
|
testImplementation "junit:junit:$junit_version"
|
2023-01-17 13:42:47 +01:00
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
2021-11-06 04:00:29 +01:00
|
|
|
}
|