Update KotlinCompile task to use compiler options

For Android extension temporary solution via KotlinJvmOptions is
provided.

^KT-27301 In Progress
This commit is contained in:
Yahor Berdnikau
2022-09-11 13:38:18 +02:00
parent 0c189de77f
commit b2f03f6224
13 changed files with 134 additions and 157 deletions
@@ -25,7 +25,11 @@ interface KotlinJvmFactory {
/** Instance of DSL object that should be used to configure Kotlin compilation pipeline. */
val kotlinExtension: KotlinTopLevelExtensionConfig
/** Creates instance of DSL object that should be used to configure JVM/android specific compilation. */
/**
* Creates instance of DSL object that should be used to configure JVM/android specific compilation.
*
* Note: [CompilerJvmOptions] instance inside [KotlinJvmOptions] is not the same as returned by [createCompilerJvmOptions]
*/
@Deprecated(
message = "Replaced by compilerJvmOptions",
replaceWith = ReplaceWith("createCompilerJvmOptions()")