Publish reborn core jar to curseforge and TR's github
This commit is contained in:
parent
66c70e7e96
commit
52357cff10
2 changed files with 31 additions and 2 deletions
|
@ -1,5 +1,32 @@
|
|||
apply plugin: "com.matthewprenger.cursegradle"
|
||||
|
||||
group = 'RebornCore'
|
||||
|
||||
minecraft {
|
||||
accessWidener = file("src/main/resources/reborncore.accesswidener")
|
||||
}
|
||||
def ENV = System.getenv()
|
||||
|
||||
curseforge {
|
||||
if (ENV.CURSEFORGE_API_KEY) {
|
||||
apiKey = ENV.CURSEFORGE_API_KEY
|
||||
}
|
||||
|
||||
project {
|
||||
id = "237903"
|
||||
changelog = "A changelog can be found at https://github.com/TechReborn/TechReborn"
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue