Set module name for common projects, this isn't done automatically yet

This commit is contained in:
Ilya Gorbunov
2018-04-01 21:23:44 +03:00
parent 0e4925a20f
commit 7ccbd36304
2 changed files with 9 additions and 4 deletions
@@ -25,4 +25,12 @@ classes.dependsOn.remove("compileJava")
artifacts {
archives sourcesJar
archives javadocJar
}
compileKotlinCommon {
kotlinOptions {
freeCompilerArgs = [
"-module-name", project.name
]
}
}
+1 -4
View File
@@ -34,16 +34,13 @@ compileKotlinCommon {
// compilerJarFile = compilerJarWithBootstrapRuntime
}
/*
// TODO: currently unsupported
compileKotlinCommon {
kotlinOptions {
freeCompilerArgs = [
"-module-name", "${project.name}".toString()
"-module-name", project.name
]
}
}
*/
kotlin.experimental.coroutines 'enable'