Fix main and test compilation tasks having different module name in
free compiler args.
This commit is contained in:
@@ -35,7 +35,9 @@ subprojects {
|
|||||||
manifestAttributes(manifest, project)
|
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}"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user