change curseforge config to use property rather than env var
@@ -284,9 +284,9 @@ uploadArchives {
tasks.curseforge.dependsOn coreJar, toolsJar, generatorsJar, apiJar
-if (System.getenv("CURSEFORGE_KEY") != null) {
+if (project.hasProperty('curseforgeKey')) {
curseforge {
- apiKey = System.getenv("CURSEFORGE_KEY")
+ apiKey = project.findProperty("curseforgeKey")
//Core
project {
