39cad033a3
Currently it's useless because we don't override compilerJarFile anymore.
25 lines
587 B
Groovy
25 lines
587 B
Groovy
apply plugin: 'kotlin'
|
|
|
|
sourceSets {
|
|
main.kotlin.srcDir 'src'
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$bootstrapKotlinVersion"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$bootstrapKotlinVersion"
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
languageVersion = "1.2"
|
|
apiVersion = "1.2"
|
|
freeCompilerArgs = ["-version", "-Xnormalize-constructor-calls=enable"]
|
|
}
|
|
}
|
|
|
|
task run(type: JavaExec) {
|
|
group 'application'
|
|
main 'generators.GenerateStandardLibKt'
|
|
classpath sourceSets.main.runtimeClasspath
|
|
args = ["${rootDir}"]
|
|
} |