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>
31 lines
606 B
Kotlin
31 lines
606 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
description = "Common klib reader and writer"
|
|
|
|
dependencies {
|
|
api(kotlinStdlib())
|
|
api(project(":kotlin-util-io"))
|
|
testImplementation(commonDependency("junit:junit"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
tasks.withType<KotlinCompile>().configureEach {
|
|
kotlinOptions {
|
|
languageVersion = "1.4"
|
|
apiVersion = "1.4"
|
|
freeCompilerArgs += listOf("-Xsuppress-version-warnings")
|
|
}
|
|
}
|
|
|
|
publish()
|
|
|
|
standardPublicJars() |