2021-07-20 19:10:11 +01:00
|
|
|
apply plugin: "com.matthewprenger.cursegradle"
|
|
|
|
|
2021-06-02 21:25:15 +01:00
|
|
|
group = 'RebornCore'
|
|
|
|
|
2021-08-19 13:33:26 +03:00
|
|
|
loom {
|
|
|
|
accessWidenerPath = file("src/main/resources/reborncore.accesswidener")
|
2021-07-20 19:10:11 +01:00
|
|
|
}
|
2021-11-17 21:28:26 +00:00
|
|
|
|
2021-07-20 19:10:11 +01:00
|
|
|
def ENV = System.getenv()
|
|
|
|
|
|
|
|
curseforge {
|
|
|
|
if (ENV.CURSEFORGE_API_KEY) {
|
|
|
|
apiKey = ENV.CURSEFORGE_API_KEY
|
|
|
|
}
|
|
|
|
|
|
|
|
project {
|
|
|
|
id = "237903"
|
2021-07-20 20:00:11 +01:00
|
|
|
changelog = ENV.CHANGELOG ?: "No changelog provided"
|
2021-07-20 19:10:11 +01:00
|
|
|
releaseType = ENV.RELEASE_CHANNEL ?: "release"
|
2022-06-07 19:18:21 +01:00
|
|
|
addGameVersion "1.19"
|
2021-07-20 19:10:11 +01:00
|
|
|
addGameVersion "Fabric"
|
|
|
|
|
|
|
|
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))
|
|
|
|
|
|
|
|
afterEvaluate {
|
|
|
|
uploadTask.dependsOn("remapJar")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
options {
|
|
|
|
forgeGradleIntegration = false
|
|
|
|
}
|
2022-04-20 23:46:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
def rcAw = file("src/main/resources/reborncore.accesswidener")
|
|
|
|
def trAw = rootProject.file("src/main/resources/techreborn.accesswidener")
|
|
|
|
|
|
|
|
trAw.text = (rcAw.text + "\n\n# DO NOT EDIT THIS FILE, edit the RebornCore AW, it will automatically be coped to this one.")
|