TL;DR: This repo does not build, why? GitHub - tomasbjerre/gcgp-bug
If:
- I depend on
git-changelog-gradle-plugin
when I am buildinggit-changelog-gradle-plugin
- And the version I am building is newer than the version i depend on gcgp-bug/gradle.properties at cba1ac924ef264de61d3ae8cbf118143eb7ce1d5 · tomasbjerre/gcgp-bug · GitHub
Than the build will crash with:
Could not apply requested plugin [id: 'se.bjurr.gitchangelog.git-changelog-gradle-plugin', version: '2.2.1'] as it does not provide a plugin with id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin'. This is caused by an incorrect plugin implementation. Please contact the plugin author(s).
> Plugin with id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' not found.
I created a minimal example with this problem:
My actual real world use case is here:
I started experiencing this when moving shared code from:
I was using it like this:
Now I moved that code to:
I am using it like this:
I’m thinking now that I am using groovy-gradle-plugin to build conventional-release-gradle-plugin
there is some difference in isolation of dependency.
How can I solve this?
I’m using:
openjdk version "17.0.10" 2024-01-16 LTS
OpenJDK Runtime Environment Zulu17.48+15-CA (build 17.0.10+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.48+15-CA (build 17.0.10+7-LTS, mixed mode, sharing)