diff --git a/build.gradle b/build.gradle index 934f3d088..a74d91b91 100644 --- a/build.gradle +++ b/build.gradle @@ -158,11 +158,12 @@ processResources { duplicatesStrategy 'include' } - String zetaVer = deps.zeta; + // Formats 1.0-13.58 to 1.0-13 (removes the build number) + String zetaVer = deps.zeta.substring(0, deps.zeta.lastIndexOf('.')) Map properties = Map.of( - "version", version, - "zeta_ver", zetaVer.substring(0, zetaVer.lastIndexOf('.')) + "version", version as String, + "zeta_ver", zetaVer ) properties.forEach((k, v) -> inputs.property(k, v))