TechReborn/RebornCore/build.gradle

33 lines
729 B
Groovy
Raw Normal View History

apply plugin: "com.matthewprenger.cursegradle"
group = 'RebornCore'
loom {
accessWidenerPath = file("src/main/resources/reborncore.accesswidener")
}
2021-11-17 22:28:26 +01:00
def ENV = System.getenv()
curseforge {
if (ENV.CURSEFORGE_API_KEY) {
apiKey = ENV.CURSEFORGE_API_KEY
}
project {
id = "237903"
2021-07-20 21:00:11 +02:00
changelog = ENV.CHANGELOG ?: "No changelog provided"
releaseType = ENV.RELEASE_CHANNEL ?: "release"
2021-12-03 16:58:43 +01:00
addGameVersion "1.18"
addGameVersion "Fabric"
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))
afterEvaluate {
uploadTask.dependsOn("remapJar")
}
}
options {
forgeGradleIntegration = false
}
}