diff --git a/build.gradle b/build.gradle index 51888afb..b040f7e0 100644 --- a/build.gradle +++ b/build.gradle @@ -162,12 +162,15 @@ tasks.setupDevWorkspace.dependsOn copyChicken tasks.setupDecompWorkspace.dependsOn copyChicken curse { + dependsOn 'reobf' + onlyIf { return project.hasProperty('ee3_curseforge_apikey') } + projectId = project.ee3_curseforge_projectid apiKey = project.ee3_curseforge_apikey - changelog = 'Until there is a nice way to include changelogs with these builds, please check out the commit log on the official GitHub project' + changelog = project.hasProperty('changelog') ? project.changelog : '' releaseType = 'alpha' + additionalArtifact devJar - additionalArtifact "$project.buildDir/libs/$project.archivesBaseName-$config.minecraft_version-$config.mod_version.${System.getenv().BUILD_NUMBER}-changelog.txt" } uploadArchives {