You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build.gradle line for version in the neoForge block explicitly requires a string.
This is a problem for people who use version catalogues, because it doesn't allow resolution of the version artifact from the catalogue, and forces you to explicitly type the version again as a string
E.G.
neoForge {
version ="21.1.57"// I have to explicitly type the version string here (or use gradle properties, etc..)
}
I want to be able to use the version I already defined in my version catalogue (as is gradle's recommendation)
neoforge {
version = libs.versions.neoForge // Version catalogue VersionFactory, same as you'd use for a dependency
}
The text was updated successfully, but these errors were encountered:
Tslat
changed the title
Allow using a VersionFactory in for neoForge.version
Allow using a VersionFactory/Rich Version in for neoForge.version
Sep 22, 2024
No this returns the required version, not the preferred version
Meaning you can't specify a lower required version than preferred version (which is a problem)
I.E. Using this rich version:
Causes MDG to use 21.1.44, not 21.1.57
and worse than that, it doesn't actually return 21.1.44, it returns [21.1.44,) as this is the string equivalent of that rich version notation, so you end up having to manually parse out the symbols yourself to make it even work
The
build.gradle
line forversion
in theneoForge
block explicitly requires a string.This is a problem for people who use version catalogues, because it doesn't allow resolution of the version artifact from the catalogue, and forces you to explicitly type the version again as a string
E.G.
I want to be able to use the version I already defined in my version catalogue (as is gradle's recommendation)
The text was updated successfully, but these errors were encountered: