diff --git a/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt b/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt index 6389f76b8..254b4b7c9 100644 --- a/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt +++ b/gradle-plugin/src/gradleTest/java/com/squareup/anvil/plugin/ClasspathTest.kt @@ -136,7 +136,7 @@ internal class ClasspathTest : BaseGradleTest() { } taskOutputs[":printCompileClasspath"] shouldBe """ - dev.zacsweers.anvil:annotations-jvm + dev.zacsweers.anvil:annotations $stdlib """.trimIndent() diff --git a/gradle-plugin/src/main/java/com/squareup/anvil/plugin/AnvilPlugin.kt b/gradle-plugin/src/main/java/com/squareup/anvil/plugin/AnvilPlugin.kt index 843872f5b..b59ee4630 100644 --- a/gradle-plugin/src/main/java/com/squareup/anvil/plugin/AnvilPlugin.kt +++ b/gradle-plugin/src/main/java/com/squareup/anvil/plugin/AnvilPlugin.kt @@ -145,12 +145,12 @@ internal open class AnvilPlugin : KotlinCompilerPluginSupportPlugin { disableCorrectErrorTypes(variant) kotlinCompilation.dependencies { - compileOnly("$GROUP:annotations-jvm:$VERSION") + compileOnly("$GROUP:annotations:$VERSION") } kotlinCompilation.substituteDependencies( project, "com.squareup.anvil:annotations", - "$GROUP:annotations-jvm", + "$GROUP:annotations", ) } if (variant.variantFilter.addOptionalAnnotations) {