[Gradle] KotlinCompilation: Remove .ownModuleName vs .moduleName duplication
This mechanism is simply not necessary anymore. Just using the 'ownModuleName' as the value of 'moduleName' is sufficient. ^KT-54312 Verification Pending
This commit is contained in:
committed by
Space Team
parent
02df7a7d4c
commit
b3d82c74fe
+1
@@ -115,6 +115,7 @@ interface KotlinCompilation<out T : KotlinCommonOptionsDeprecated> : Named,
|
||||
override val relatedConfigurationNames: List<String>
|
||||
get() = super.relatedConfigurationNames + compileDependencyConfigurationName
|
||||
|
||||
@Deprecated("Scheduled for removal with Kotlin 1.9. Use compilerOptions instead")
|
||||
val moduleName: String
|
||||
|
||||
val disambiguatedName
|
||||
|
||||
-2
@@ -43,6 +43,4 @@ interface GradleKpmVariantCompilationData<T : KotlinCommonOptionsDeprecated> : K
|
||||
|
||||
override val platformType: KotlinPlatformType
|
||||
get() = owner.platformType
|
||||
|
||||
override val ownModuleName: String
|
||||
}
|
||||
|
||||
-1
@@ -34,7 +34,6 @@ interface KotlinCompilationData<T : KotlinCommonOptionsDeprecated> {
|
||||
val platformType: KotlinPlatformType
|
||||
|
||||
val moduleName: String
|
||||
val ownModuleName: String
|
||||
|
||||
@Deprecated(
|
||||
message = "Replaced with compilerOptions.options",
|
||||
|
||||
Reference in New Issue
Block a user