Darkhax-Minecraft / Game-Stages

An API for universal player based progression.
https://minecraft.curseforge.com/projects/game-stages
GNU Lesser General Public License v2.1
64 stars 17 forks source link

Maven .pom dependency group ids have unintentional prefix? #35

Closed codetaylor closed 6 years ago

codetaylor commented 6 years ago

I was updating my versions today and couldn't build with the latest gamestages because of a dependency that it couldn't find:

Could not find deobf.net.darkhax.bookshelf:Bookshelf-1.12.2:2.3.557.

It looks like from 2.0.101 to 2.0.106 all the .pom files have deobf. in front.

Darkhax commented 6 years ago

Thanks for the report. McJty had said something about the issue but nobody could work it out. It seems this bug is introduced by upgrading the gradle wrapper to a version above 4.2.1, I don't know specifically which version the issue was introduced, or how to fix it. Here is a diff check of the poms with 4.2.1 vs 4.9. https://www.diffchecker.com/XaAB0k45

Darkhax commented 6 years ago

@artdude543 Can you try with 2.0.108 and let me know how it goes?

codetaylor commented 6 years ago

2.0.108 works as expected.

Thank you for your time. :)

ejektaflex commented 5 years ago

@darkhax I've found a fix for this for anybody in the future, as this was still a problem for me (Currently works in Gradle v4.10.3), you just do this:

compile("net.darkhax.gamestages:GameStages-" + v_minecraft + ":" + v_gamestages" + ":deobf")
Darkhax commented 5 years ago

@ejektaflex This was an issue on my end and not something people should fix on their end.