[Gradle] Schedule 'overrideDisambiguationClassifierOnIdeImport' and 'useDisambiguationClassifierAsSourceSetNamePrefix' for removal in 2.0

^KT-58220 Verification Pending
See: KT-58231
This commit is contained in:
Sebastian Sellmair
2023-04-25 10:46:51 +02:00
committed by Space Team
parent e72f236bd4
commit 1313cffe01
2 changed files with 8 additions and 0 deletions
@@ -21,7 +21,13 @@ import org.jetbrains.kotlin.tooling.core.HasMutableExtras
interface KotlinTarget : Named, HasAttributes, HasProject, HasMutableExtras {
val targetName: String
val disambiguationClassifier: String? get() = targetName
/* Long deprecation cycle, because IDE might be calling into this via reflection */
@Deprecated("Scheduled for removal with Kotlin 2.2")
val useDisambiguationClassifierAsSourceSetNamePrefix: Boolean
/* Long deprecation cycle, because IDE might be calling into this via reflection */
@Deprecated("Scheduled for removal with Kotlin 2.2")
val overrideDisambiguationClassifierOnIdeImport: String?
val platformType: KotlinPlatformType
@@ -44,9 +44,11 @@ abstract class AbstractKotlinTarget(
override val defaultConfigurationName: String
get() = disambiguateName("default")
@Deprecated("Scheduled for removal with Kotlin 2.2")
override var useDisambiguationClassifierAsSourceSetNamePrefix: Boolean = true
internal set
@Deprecated("Scheduled for removal with Kotlin 2.2")
override var overrideDisambiguationClassifierOnIdeImport: String? = null
internal set