[Gradle] Deprecate KotlinCompilation.compilerOptions
Users quite often confuse that compilerOptions in KotlinCompilation is actually the same object in the Kotlin compilation task. We want to make our API more straightforward and remove this ambiguity by proposing to use task compiler options DSL. ^KT-65568 Verification Pending
This commit is contained in:
committed by
Space Team
parent
5df05d5797
commit
d662f72d07
+4
@@ -59,6 +59,10 @@ interface KotlinCompilation<out T : KotlinCommonOptionsDeprecated> : Named,
|
||||
|
||||
val compileKotlinTaskName: String
|
||||
|
||||
@Deprecated(
|
||||
"To configure compilation compiler options use 'compileTaskProvider':\ncompilation.compileTaskProvider.configure{\n" +
|
||||
" compilerOptions {}\n}"
|
||||
)
|
||||
@Suppress("DEPRECATION")
|
||||
val compilerOptions: HasCompilerOptions<*>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user