[Gradle] Implement KotlinGradlePluginDsl annotation and check in for binary compatibility validation

^KT-58676 Verification Pending
This commit is contained in:
Sebastian Sellmair
2023-06-21 11:44:15 +02:00
committed by Space Team
parent cec243ac3b
commit 845c8bd1c3
11 changed files with 491 additions and 2 deletions
@@ -50,7 +50,7 @@ private fun generateKotlinTargetContainerWithPresetFunctionsInterface() {
imports,
generatedCodeWarning,
extraTopLevelDeclarations,
"interface ${className.renderShort()} : ${parentInterfaceName.renderShort()} {",
"@KotlinGradlePluginDsl\ninterface ${className.renderShort()} : ${parentInterfaceName.renderShort()} {",
functions.joinToString("\n\n") { it.indented(4) },
"}"
).joinToString("\n\n")