For bootstrapping on 1.3-M1: compile parts that can be used in .gradle.kts scripts with 1.2 language version

This commit is contained in:
Ilya Gorbunov
2018-06-25 20:55:31 +03:00
parent b160561795
commit 8102e512d3
6 changed files with 35 additions and 0 deletions
@@ -21,6 +21,12 @@ dependencies {
compileOnly 'com.android.tools.build:gradle:0.4.2'
}
tasks.withType(project.compileKotlin.class) {
kotlinOptions.languageVersion = "1.2"
kotlinOptions.apiVersion = "1.2"
kotlinOptions.freeCompilerArgs += ["-Xskip-metadata-version-check"]
}
artifacts {
archives sourcesJar
archives javadocJar