I wanted to check here before I open an issue. Did...
# plugin-development
a
I wanted to check here before I open an issue. Did upgrading to Gradle v8.11 break your ability to add included builds to your project? We publish our convention plugins to an internal artifactory, but keep the sources in the parent android project for quick debugging / iteration. I’ve just noticed that after upgrading to v8.11, adding the line
includeBuild("build-logic")
breaks my build with classpath errors like this:
Copy code
Error resolving plugin [id: 'com.org.group.plugin.name', version: '1.0.30']
> The request for this plugin could not be satisfied because the plugin is already on the classpath with an unknown version, so compatibility cannot be checked.
t
just to double check, did you put the includeBuild in the pluginManagement block or at the top level. should be at the pluginManagement block for plugins your build needs to replace.
a
Yep, pluginManagement block
Doing the same on 8.10.2 works 🤔
t
let me try the same in my project for one of the plugins I put into artifactory to see if it does similar to yours
a
Thanks!
t
Looks like it is working fine in my project. Gut says to double check and make sure that across all of your build composites included it is replacing with that project so it doesn't end up loading one copy from artifactory and one from the project by the time you make it down to the main build
a
Thanks. I just double checked our commit history and it’s definitely something we did wrong 🤦
👌 1
t
No shame. We have all been there
gradlephant 2