-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grgit-core as runtime dependency for grgit-gradle from gradle plugin portal #271
Comments
Thanks for the report! This should have been resolved when #267 was fixed (prior to the 3.0.0 final release). Looking at the POM files they are different between the two, though even the plugin portal lists grgit-core as a compile dependency. However, it does also list it as a runtime dependency, which seems odd. In 3.0.0, I was using 0.9.10 of the gradle plugin publishing plugin, which created its own POM file different from what is used by the Maven publish plugin. In 0.10.0 they now reuse the Maven publish POM. So I think a re-release with the newer plugin would fix this. I'll leave this until the next batch of fixes, since there's ways around it. |
Hi. Unfortunately, this is still (or again) an issue with 4.1.1 (tested with Gradle 7.3.1). If you look at the POM, you notice that there are two entries for
Looks like Gradle uses the last one if there are multiple entires. You could argue that Gradle could be a bit more "careful" when parsing the POM, but having these two entries also does not make much sense. Usually, there should be only one entry for each dependency. And |
Resolved in 5.0.0 |
Thanks for having a look at this @ajoberstar. Unfortunately, the issue is still present in the 5.0.0-rc.3.pom. |
My bad, I missed
and thought |
grgit-core has not resolved in compileClasspath for grgit-gradle from gradle plugin portal when using Gradle 5.0
build.gradle:
result of ./gradlew dependencies --configuration compileClasspath
But grgit-gradle from jcenter works well
Probably that happens via different dependency block in their pom
The text was updated successfully, but these errors were encountered: