New gradle how to config
the new gradle is like this to config odle classpath plugin.so how I do config? I config like this but error: plugins { id 'com.github.bjoernq.unmock' version '0.7.9' apply false } Plugin [id: 'com.github.bjoernq.unmock', version: '0.7.9', apply: false] was not found in any of the following sources:
Ran into the same issue and it seems it's not possible to use the new plugins {...} syntax with plugins not on gradle's PluginPortal: https://github.com/gradle/gradle/issues/1541 So basically keep using the old buildscript method is the only solution unless @bjoernQ decides to move to/also publish to gradle's plugin portal. For me it's no big deal and I'm happy sticking with the old method