Set module name for common projects, this isn't done automatically yet
This commit is contained in:
@@ -25,4 +25,12 @@ classes.dependsOn.remove("compileJava")
|
|||||||
artifacts {
|
artifacts {
|
||||||
archives sourcesJar
|
archives sourcesJar
|
||||||
archives javadocJar
|
archives javadocJar
|
||||||
|
}
|
||||||
|
|
||||||
|
compileKotlinCommon {
|
||||||
|
kotlinOptions {
|
||||||
|
freeCompilerArgs = [
|
||||||
|
"-module-name", project.name
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -34,16 +34,13 @@ compileKotlinCommon {
|
|||||||
// compilerJarFile = compilerJarWithBootstrapRuntime
|
// compilerJarFile = compilerJarWithBootstrapRuntime
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
// TODO: currently unsupported
|
|
||||||
compileKotlinCommon {
|
compileKotlinCommon {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs = [
|
freeCompilerArgs = [
|
||||||
"-module-name", "${project.name}".toString()
|
"-module-name", project.name
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
kotlin.experimental.coroutines 'enable'
|
kotlin.experimental.coroutines 'enable'
|
||||||
|
|||||||
Reference in New Issue
Block a user