[Gradle] Remove relatedConfigurationNames
It was public api which has not much use outside KGP. Moreover, this api has a little use so it is ok list configuration names in place. ^KT-58225 Verification Pending
This commit is contained in:
committed by
Space Team
parent
8aacdb471b
commit
001bdc411d
-4
@@ -196,10 +196,6 @@ interface HasKotlinDependencies {
|
||||
val implementationConfigurationName: String
|
||||
val compileOnlyConfigurationName: String
|
||||
val runtimeOnlyConfigurationName: String
|
||||
|
||||
@Deprecated("Scheduled for removal with Kotlin 2.0")
|
||||
val relatedConfigurationNames: List<String>
|
||||
get() = listOf(apiConfigurationName, implementationConfigurationName, compileOnlyConfigurationName, runtimeOnlyConfigurationName)
|
||||
}
|
||||
|
||||
@Deprecated("Do not use in your build script")
|
||||
|
||||
-10
@@ -140,11 +140,6 @@ interface KotlinCompilation<out T : KotlinCommonOptionsDeprecated> : Named,
|
||||
|
||||
override fun getName(): String = compilationName
|
||||
|
||||
@Deprecated("Scheduled for removal with Kotlin 2.0")
|
||||
@Suppress("DEPRECATION")
|
||||
override val relatedConfigurationNames: List<String>
|
||||
get() = super.relatedConfigurationNames + compileDependencyConfigurationName
|
||||
|
||||
val disambiguatedName
|
||||
get() = target.disambiguationClassifier + name
|
||||
}
|
||||
@@ -154,11 +149,6 @@ interface KotlinCompilationToRunnableFiles<T : KotlinCommonOptionsDeprecated> :
|
||||
override val runtimeDependencyConfigurationName: String
|
||||
|
||||
override var runtimeDependencyFiles: FileCollection
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
@Deprecated("Scheduled for removal with Kotlin 2.0")
|
||||
override val relatedConfigurationNames: List<String>
|
||||
get() = super.relatedConfigurationNames + runtimeDependencyConfigurationName
|
||||
}
|
||||
|
||||
@Deprecated("Scheduled for removal with Kotlin 2.0")
|
||||
|
||||
Reference in New Issue
Block a user