I am writing a “release” plugin which works fine when testing with a dummy project. Now I want to use the plugin to release itself and I am baffled on how to make it work. I have:
url: uri(System.getProperty(“user.home”) + ‘/.repo’)
when I try to run Gradle with this build script, the following error is reported:
A problem occurred configuring root project ‘gradle-release-plugin’. > Could not resolve all dependencies for configuration ‘:classpath’.
Module version com.brightcove:gradle-release-plugin:1.0.0-SNAPSHOT, configuration ‘classpath’ declares a dependency on configuration ‘default’ which is not declared in the module descriptor for com.brightcove:gradle-release-plugin:1.0.0-SNAPSHOT
Even with --debug output, the message still does not make any sense to me. Can someone shed any light on what might be wrong and how to fix it? fwiw, this is with Gradle 1.11