aed6272107
* Code was moved to utils, but sources are included to the shared until bootstrap advance. * Fixed dependencies and set API & LV to 1.4 for the modules used with Gradle. Merge-request: KT-MR-9122 Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
42 lines
922 B
Kotlin
42 lines
922 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
description = "Kotlin/Native utils"
|
|
|
|
dependencies {
|
|
compileOnly(kotlinStdlib())
|
|
api(project(":kotlin-util-io"))
|
|
api(project(":kotlin-util-klib"))
|
|
api(platform(project(":kotlin-gradle-plugins-bom")))
|
|
|
|
testImplementation(commonDependency("junit:junit"))
|
|
testImplementation(kotlinStdlib())
|
|
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
testApiJUnit5()
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
tasks {
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions {
|
|
languageVersion = "1.4"
|
|
apiVersion = "1.4"
|
|
freeCompilerArgs += "-Xsuppress-version-warnings"
|
|
}
|
|
}
|
|
|
|
withType<Test>().configureEach {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|
|
|
|
publish()
|
|
|
|
standardPublicJars()
|