Skip to content

Commit

Permalink
gradle please just work for once
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Feb 3, 2024
1 parent 6272ced commit dc53cd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,11 @@ processResources {
duplicatesStrategy 'include'
}

Map<String, ?> properties = Map.of(
"zeta_ver", deps.zeta.substring(0, deps.zeta.lastIndexOf('.'))
String zetaVer = deps.zeta;

Map<String, String> properties = Map.of(
"version", version,
"zeta_ver", zetaVer.substring(0, zetaVer.lastIndexOf('.'))
)

properties.forEach((k, v) -> inputs.property(k, v))
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license="https://github.com/Vazkii/QuarkMods/blob/master/LICENSE.md"
[[mods]]
modId="quark"
displayName="Quark"
version="${file.jarVersion}"
version="${version}"
authors="Vazkii, WireSegal, MCVinnyq, Sully"
description='''Small things, improving Minecraft bit by bit.'''

Expand Down

0 comments on commit dc53cd6

Please sign in to comment.