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
@@ -24,6 +24,12 @@ dependencies {
evaluationDependsOn(":kotlin-allopen-compiler-plugin")
tasks.withType(project.compileKotlin.class) {
kotlinOptions.languageVersion = "1.2"
kotlinOptions.apiVersion = "1.2"
kotlinOptions.freeCompilerArgs += ["-Xskip-metadata-version-check"]
}
jar {
from(project(":kotlin-allopen-compiler-plugin").sourceSets.main.output.classesDirs)
from(project(":kotlin-allopen-compiler-plugin").sourceSets.main.output.resourcesDir)