Files
kotlin-fork/plugins/android-extensions/android-extensions-runtime/build.gradle.kts
T
Alexander Udalov e0b6d4d917 Add -Xsuppress-deprecated-jvm-target-warning to modules compiled with 1.6
Currently this leads to an unknown argument warning, but it'll be
removed automatically on the next bootstrap.
2021-02-03 12:51:39 +01:00

31 lines
526 B
Kotlin

description = "Kotlin Android Extensions Runtime"
plugins {
kotlin("jvm")
id("jps-compatible")
}
jvmTarget = "1.6"
dependencies {
compile(kotlinStdlib())
compileOnly(commonDep("com.google.android", "android"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
publish()
runtimeJar()
sourcesJar()
javadocJar()
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
freeCompilerArgs += "-Xsuppress-deprecated-jvm-target-warning"
}
}