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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user