Skip to content

Commit

Permalink
Just comment this out for now since it was causing problems and it's …
Browse files Browse the repository at this point in the history
…not strictly necessary
  • Loading branch information
Vazkii committed Apr 9, 2024
1 parent 03dd2cc commit 9b94efe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,31 @@ processResources {
duplicatesStrategy 'include'
}

/*
TODO: figure out a way to bring this back while keeping
the standard file.version format
// Formats 1.0-13.58 to 1.0-13 (removes the build number)
String zetaVer = deps.zeta.substring(0, deps.zeta.lastIndexOf('.'))
String curiosVer = deps.curios;
String versionStr = version as String;
file = new Object() {
String version = versionStr;
};
Map<String, String> properties = Map.of(
"zeta_ver", zetaVer,
"curios_ver", curiosVer
"curios_ver", curiosVer,
"file", file
)
properties.forEach((k, v) -> inputs.property(k, v))
filesMatching("META-INF/mods.toml") {
expand properties
}
*/
}

def parseConfig(File config) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ description='''Small things, improving Minecraft bit by bit.'''
[[dependencies.quark]]
modId="zeta"
mandatory=true
versionRange="[${zeta_ver},2.0)"
versionRange="[1.0-14,2.0)"
ordering="AFTER"
side="BOTH"

[[dependencies.quark]]
modId="curios"
mandatory=false
versionRange="[${curios_ver},)"
versionRange="[5.6.1,)"
ordering="AFTER"
side="BOTH"

Expand Down

0 comments on commit 9b94efe

Please sign in to comment.