mkobit
08/29/2017, 1:45 PMdragas
08/29/2017, 1:46 PM4.1
dragas
08/29/2017, 1:46 PM3.3
)orangy
napperley
08/30/2017, 1:23 AMnapperley
08/30/2017, 1:24 AMjlleitschuh
08/30/2017, 7:16 PMjava-library
plugin?
If so then that's probably your problem.jlleitschuh
08/30/2017, 7:18 PMjava-library
plugin you need some code like this for kotlin to work correctly.
configurations {
"apiElements" {
/*
* Needed to configure kotlin to work correctly with the "java-library" plugin.
* See:
* <https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_known_issues>
* <https://youtrack.jetbrains.com/issue/KT-18497>
*/
val compileKotlin: KotlinCompile by tasks
outgoing
.variants
.getByName("classes")
.artifact(mapOf(
"file" to compileKotlin.destinationDir,
"type" to "java-classes-directory",
"builtBy" to compileKotlin
))
}
}
napperley
08/30/2017, 10:45 PMmkobit
08/31/2017, 2:21 AM