Can someone please help here ```Caused by: org.gra...
# community-support
a
Can someone please help here
Copy code
Caused 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.
This is fixed. But stumbled upon another issue.
Copy code
> Could not find method withDependencies() for arguments [build_96jzt9ewejo64wpmt2x18m8u3$_run_closure10$_closure17@1605b972] on extension 'gradlePlugin' of type org.gradle.plugin.devel.GradlePluginDevelopmentExtension.
Code:
Copy code
withDependencies { List<Dependency> list ->
        list.clear()
    }
v
I would like to suggest you use Kotlin DSL instead. By now it it the default DSL, you immediately get type-safe build scripts, actually helpful error messages if you mess up the syntax like here, and amazingly better IDE support if you use a good IDE like IntelliJ IDEA or Android Studio. Error messages like the one you showed usually mean that something within the
withDependencies
block is invalid without further information what exactly is wrong. With Kotlin DSL it tells you exactly where the problem is.
1