[Gradle] Update 'Scheduled for removal' deprecations

^KT-58220 Verification Pending
This commit is contained in:
Sebastian Sellmair
2023-04-25 09:57:23 +02:00
committed by Space Team
parent f98765f254
commit 25c2fe03a9
4 changed files with 8 additions and 8 deletions
@@ -108,7 +108,7 @@ interface KotlinCompilation<out T : KotlinCommonOptionsDeprecated> : Named,
get() = target.disambiguationClassifier + name
}
@Deprecated("Scheduled for removal with Kotlin 1.9")
@Deprecated("Scheduled for removal with Kotlin 2.0")
interface KotlinCompilationToRunnableFiles<T : KotlinCommonOptionsDeprecated> : KotlinCompilation<T> {
override val runtimeDependencyConfigurationName: String
@@ -118,12 +118,12 @@ interface KotlinCompilationToRunnableFiles<T : KotlinCommonOptionsDeprecated> :
get() = super.relatedConfigurationNames + runtimeDependencyConfigurationName
}
@Deprecated("Scheduled for removal with Kotlin 1.9")
@Deprecated("Scheduled for removal with Kotlin 2.0")
@Suppress("EXTENSION_SHADOWED_BY_MEMBER", "deprecation") // kept for compatibility
val <T : KotlinCommonOptionsDeprecated> KotlinCompilation<T>.runtimeDependencyConfigurationName: String?
get() = (this as? KotlinCompilationToRunnableFiles<T>)?.runtimeDependencyConfigurationName
@Deprecated("Scheduled for removal with Kotlin 1.9")
@Deprecated("Scheduled for removal with Kotlin 2.0")
interface KotlinCompilationWithResources<T : KotlinCommonOptionsDeprecated> : KotlinCompilation<T> {
val processResourcesTaskName: String
}