Akshat Gupta
07/03/2024, 11:54 AMCaused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method pluginBundle() for arguments [build_96jzt9ewejo64wpmt2x18m8u3$_run_closure10@526e3e9] on root project 'google-java-format-gradle-plugin' of type org.gradle.api.Project.Akshat Gupta
07/03/2024, 12:10 PM> Could not find method withDependencies() for arguments [build_96jzt9ewejo64wpmt2x18m8u3$_run_closure10$_closure17@1605b972] on extension 'gradlePlugin' of type org.gradle.plugin.devel.GradlePluginDevelopmentExtension.
Code:
withDependencies { List<Dependency> list ->
list.clear()
}Vampire
07/03/2024, 1:16 PMwithDependencies block is invalid without further information what exactly is wrong. With Kotlin DSL it tells you exactly where the problem is.