diff --git a/build.gradle b/build.gradle index 7768e20a2..7801c6be5 100644 --- a/build.gradle +++ b/build.gradle @@ -178,10 +178,10 @@ curse { dependsOn 'reobf' onlyIf { - return project.hasProperty('chisel_curseforge_key') && System.getenv("CURSE") != null && System.getenv("CURSE").equalsIgnoreCase("true") + return project.hasProperty('curseforge_key') && System.getenv("CURSE") != null && System.getenv("CURSE").equalsIgnoreCase("true") } - if (project.hasProperty('chisel_curseforge_key')) apiKey = project.chisel_curseforge_key + if (project.hasProperty('curseforge_key')) apiKey = project.curseforge_key projectId = project.projectId changelog = System.getenv("CHANGELOG").equals("none") ? getChangelogText() : System.getenv("CHANGELOG") releaseType = 'release'