Fix main and test compilation tasks having different module name in

free compiler args.
This commit is contained in:
Sergey Igushkin
2017-05-16 17:24:50 +03:00
parent 899ad7bb53
commit 74288ff8ae
+3 -1
View File
@@ -35,7 +35,9 @@ subprojects {
manifestAttributes(manifest, project)
}
compileKotlin.kotlinOptions.freeCompilerArgs += ["-module-name", "${project.name}"]
tasks.withType(org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile).all { task ->
task.kotlinOptions.freeCompilerArgs += ["-module-name", "${project.name}"]
}
}
}