Remove redundant compiler argument for context parameter
This commit is contained in:
@@ -10,18 +10,14 @@ import tapmoc.configureJavaCompatibility
|
||||
|
||||
fun Project.configureKotlin() {
|
||||
configureJavaCompatibility(mihonx.versions.java.get().toInt())
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
freeCompilerArgs.add("-Xcontext-parameters")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Suppress("Unused")
|
||||
private fun Project.kotlin(block: KotlinBaseExtension.() -> Unit) {
|
||||
extensions.configure(block)
|
||||
}
|
||||
|
||||
@Suppress("Unused")
|
||||
private fun KotlinBaseExtension.compilerOptions(block: KotlinCommonCompilerOptions.() -> Unit) {
|
||||
if (this is HasConfigurableKotlinCompilerOptions<*>) compilerOptions(block)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user