I am writing a simple plugin that I can make public and I would like to try all the “new” stuff, such as the java-gradle-plugin, publish-plugin, testKit(), etc.
I got a first cut of the plugin and I would like to test it with existing project before publishing. I have read somewhere that I should be able to use composite builds for that, but when I list my plugin ID and the version in the plugins { ... }
block I get an error:
Plugin [id: 'io.github.ddimtirov.codacy', version: '0.1.0-SNAPSHOT'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Gradle Central Plugin Repository (snapshot plugin versions are not supported)
When I add it to the buildscript classpath and apply it with the apply plugin: <id>
syntax it works.
Am I doing something wrong, or is this a known issue? Is there any plan to integrate the plugin classpath discovery with composite builds?
@st_oehme any idea?