Specify module name via moduleName option instead of freeCompilerArgs
This allows to get rid of warnings about duplicate module name in some of the modules.
This commit is contained in:
@@ -47,8 +47,8 @@ compileKotlin {
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xno-optimized-callable-references",
|
||||
"-Xno-kotlin-nothing-value-exception",
|
||||
"-Xopt-in=kotlin.RequiresOptIn",
|
||||
"-module-name", "kotlin-reflection"]
|
||||
"-Xopt-in=kotlin.RequiresOptIn"]
|
||||
moduleName = "kotlin-reflection"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user