diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PureAndroidAndJavaConsumeMppLibIT.kt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PureAndroidAndJavaConsumeMppLibIT.kt index e7b3c73c9cca4..125e256260cb4 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PureAndroidAndJavaConsumeMppLibIT.kt +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/PureAndroidAndJavaConsumeMppLibIT.kt @@ -172,7 +172,7 @@ abstract class PureAndroidAndJavaConsumeMppLibIT : BaseGradleIT() { gradleBuildScript("Lib").apply { writeText( // Remove the Kotlin plugin from the consumer project to check how pure-AGP Kotlin-less consumers resolve the dependency - readText().checkedReplace("apply plugin: 'kotlin-android'", "//").let { text -> + readText().checkedReplace("id 'org.jetbrains.kotlin.android'", "//").let { text -> // If the test case doesn't assume flavors, remove the flavor setup lines: if (useFlavors) text else text.lines().filter { !it.trim().startsWith("flavor") }.joinToString("\n") } + "\n" + """