mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
37 lines
839 B
Kotlin
37 lines
839 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
description = "Kotlin/Native utils"
|
|
|
|
dependencies {
|
|
compileOnly(kotlinStdlib())
|
|
api(project(":kotlin-util-io"))
|
|
|
|
testImplementation(commonDep("junit:junit"))
|
|
testCompileOnly(project(":kotlin-reflect-api"))
|
|
testImplementation(project(":kotlin-reflect"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
tasks {
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions {
|
|
languageVersion = "1.4"
|
|
apiVersion = "1.4"
|
|
freeCompilerArgs += "-Xsuppress-version-warnings"
|
|
}
|
|
}
|
|
}
|
|
|
|
// TODO: this single known external consumer of this artifact is Kotlin/Native backend,
|
|
// so publishing could be stopped after migration to monorepo
|
|
publish()
|
|
|
|
standardPublicJars()
|