2023-01-15 06:04:37 +01:00
|
|
|
apply plugin: "java-library"
|
|
|
|
apply plugin: "kotlin"
|
2018-01-27 12:00:44 +01:00
|
|
|
|
2023-04-15 22:23:34 +02:00
|
|
|
sourceCompatibility = javaSourceCompatibility
|
|
|
|
targetCompatibility = javaTargetCompatibility
|
2021-11-06 04:00:29 +01:00
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
|
2023-04-15 22:23:34 +02:00
|
|
|
sourceCompatibility = javaSourceCompatibility
|
|
|
|
targetCompatibility = javaTargetCompatibility
|
2021-11-06 04:00:29 +01:00
|
|
|
|
|
|
|
kotlinOptions {
|
2023-02-01 17:11:39 +01:00
|
|
|
jvmTarget = kotlinJvmTarget
|
2021-11-06 04:00:29 +01:00
|
|
|
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
|
2023-02-01 17:11:39 +01:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
2023-01-17 13:42:47 +01:00
|
|
|
|
2023-02-01 17:11:39 +01:00
|
|
|
testImplementation "junit:junit:$junitVersion"
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
|
2021-11-06 04:00:29 +01:00
|
|
|
}
|