2018-01-27 12:00:44 +01:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
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 {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
//noinspection DifferentStdlibGradleVersion
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
testImplementation "junit:junit:$junit_version"
|
2021-11-06 04:00:29 +01:00
|
|
|
}
|