[Gradle] Elevate KotlinCompilation.source deprecation to ERROR

Fix internal use of this API with dedicated internal function.

^KT-58234 Verification Pending
This commit is contained in:
Anton Lakotka
2023-07-14 16:08:17 +02:00
committed by Space Team
parent aecf18b842
commit 245825cf8b
10 changed files with 28 additions and 26 deletions
@@ -131,7 +131,7 @@ interface KotlinCompilation<out T : KotlinCommonOptionsDeprecated> : Named,
* Further details:
* https://kotl.in/compilation-source-deprecation
*/
@Deprecated("scheduled for removal with Kotlin 2.0")
@Deprecated("scheduled for removal with Kotlin 2.0", level = DeprecationLevel.ERROR)
fun source(sourceSet: KotlinSourceSet)
fun associateWith(other: KotlinCompilation<*>)