Minor fix: handle kotlinOptions more carefully, store them where needed
This commit is contained in:
-3
@@ -281,9 +281,6 @@ abstract class AbstractKotlinCompilation<T : KotlinCommonOptions>(
|
||||
override val associateWith: List<KotlinCompilation<*>>
|
||||
get() = Collections.unmodifiableList(_associateWith.toList())
|
||||
|
||||
override val kotlinOptions: T
|
||||
get() = TODO("Not yet implemented")
|
||||
|
||||
override val project: Project
|
||||
get() = target.project
|
||||
|
||||
|
||||
+1
-2
@@ -23,8 +23,7 @@ class KotlinJvmVariantCompilationData(val variant: KotlinJvmVariant) : KotlinVar
|
||||
override val owner: KotlinJvmVariant get() = variant
|
||||
|
||||
// TODO pull out to the variant
|
||||
override val kotlinOptions: KotlinJvmOptions
|
||||
get() = KotlinJvmOptionsImpl()
|
||||
override val kotlinOptions: KotlinJvmOptions = KotlinJvmOptionsImpl()
|
||||
}
|
||||
|
||||
internal fun KotlinGradleVariant.ownModuleName(): String {
|
||||
|
||||
+1
-2
@@ -150,8 +150,7 @@ internal open class KotlinNativeFragmentMetadataCompilationDataImpl(
|
||||
override val isActive: Boolean
|
||||
get() = fragment.isNativeShared()
|
||||
|
||||
override val kotlinOptions: NativeCompileOptions
|
||||
get() = NativeCompileOptions { languageSettings }
|
||||
override val kotlinOptions: NativeCompileOptions = NativeCompileOptions { languageSettings }
|
||||
|
||||
override val konanTarget: KonanTarget
|
||||
get() {
|
||||
|
||||
Reference in New Issue
Block a user