2021-07-20 20:10:11 +02:00
|
|
|
apply plugin: "com.matthewprenger.cursegradle"
|
|
|
|
|
2021-06-02 22:25:15 +02:00
|
|
|
group = 'RebornCore'
|
|
|
|
|
2021-08-19 12:33:26 +02:00
|
|
|
loom {
|
|
|
|
accessWidenerPath = file("src/main/resources/reborncore.accesswidener")
|
2021-07-20 20:10:11 +02: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"
|
2021-07-20 20:10:11 +02:00
|
|
|
releaseType = ENV.RELEASE_CHANNEL ?: "release"
|
|
|
|
addGameVersion "1.17.1"
|
|
|
|
addGameVersion "Fabric"
|
|
|
|
|
|
|
|
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))
|
|
|
|
|
|
|
|
afterEvaluate {
|
|
|
|
uploadTask.dependsOn("remapJar")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
options {
|
|
|
|
forgeGradleIntegration = false
|
|
|
|
}
|
2021-06-02 22:25:15 +02:00
|
|
|
}
|