unmock-plugin icon indicating copy to clipboard operation
unmock-plugin copied to clipboard

New gradle how to config

Open herenxue opened this issue 2 years ago • 2 comments

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:

herenxue avatar Jun 23 '23 16:06 herenxue

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

cbalster avatar Aug 19 '23 11:08 cbalster