diff --git a/byte-buddy-gradle-plugin/android-plugin/src/main/java/net/bytebuddy/build/gradle/android/ByteBuddyAndroidPlugin.java b/byte-buddy-gradle-plugin/android-plugin/src/main/java/net/bytebuddy/build/gradle/android/ByteBuddyAndroidPlugin.java index 2ef2cae120..815804efdd 100644 --- a/byte-buddy-gradle-plugin/android-plugin/src/main/java/net/bytebuddy/build/gradle/android/ByteBuddyAndroidPlugin.java +++ b/byte-buddy-gradle-plugin/android-plugin/src/main/java/net/bytebuddy/build/gradle/android/ByteBuddyAndroidPlugin.java @@ -581,7 +581,7 @@ protected ForApk74CompatibleAndroid(Method forScope, Method use, Method toTransf * {@inheritDoc} */ public void accept(Project project, Variant variant, Configuration configuration, FileCollection classPath) { - TaskProvider provider = project.getTasks().register(variant.getName() + "BytebuddyLocalTransform", + TaskProvider provider = project.getTasks().register(variant.getName() + "BytebuddyTransform", ByteBuddyLocalClassesEnhancerTask.class, new ByteBuddyLocalClassesEnhancerTask.ConfigurationAction(getByteBuddyClasspath(project, configuration), project.getExtensions().getByType(BaseExtension.class))); try {