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
Gradle: Problems with '+' sign in version number #26
Comments
Open an issue ONLY if you've found a reproducible defect in the software or its documentation. If you need help, use the JMonkeyEngine Forum. |
The renaming can take place with the next release.
|
implementation 'com.github.stephengold:Minie:4.9.0' OR when adding the contents or
|
If you want to separate android natives from Minie, then you shouldn't use the '+' sign in version numbers, gradle will anticipate this as different versions of a same thing (which is not the case), instead it's better for new Minie versions to use a different modular expression with a dash |
For Minie v5, I've created an Android-only version of the library (Minie-5.0.0+droid) that includes both the java classes and the native libraries. As the name suggests, this is a version of Minie-5.0.0 that's specifically for Android projects. That should solve this issue. @Scrappers-glitch please verify so I can close this issue. |
No response after a month, so I'll assume the solution is satisfactory. |
Hello @sgold, sorry for very late reply, I was very busy those last two months, besides cleaning out my notifications that got cluttered up, I haven't tested these changes yet on android to assure the issue is resolved, but we can just keep this closed for now, I will be back on jme the next month or so and i will use Minie on android, so if something happens about this issue, we can reopen it...thanks for the update ! |
I have tested the new
Minie-4.9.0+bare
andMinie-4.9.0+ano
parts of Minie library on android, and i found out that the bare part always replaces the ano part if both are added as dependencies, i suspect the problem comes from using '+' sign in declaring minie parts, in which gradle consumes it as a different version of minie, so a suggestion for the next release and for an eventual fix is to omit the '+' sign from minie parts and replace it bylibrary-module:version
classical way of defining library parts.So, this is better :
instead of this :
By doing this, you are actually creating different
artificatId
names under the hood under the same library.The text was updated successfully, but these errors were encountered: