Move to custom curse forge publish plugin
This commit is contained in:
parent
4d61bb4481
commit
e6fc735bea
4 changed files with 33 additions and 52 deletions
|
@ -1,37 +1,9 @@
|
|||
apply plugin: "com.matthewprenger.cursegradle"
|
||||
|
||||
group = 'RebornCore'
|
||||
|
||||
loom {
|
||||
accessWidenerPath = 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 = ENV.CHANGELOG ?: "No changelog provided"
|
||||
releaseType = ENV.RELEASE_CHANNEL ?: "release"
|
||||
addGameVersion "1.20.1"
|
||||
addGameVersion "Fabric"
|
||||
|
||||
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))
|
||||
|
||||
afterEvaluate {
|
||||
uploadTask.dependsOn("remapJar")
|
||||
}
|
||||
}
|
||||
|
||||
options {
|
||||
forgeGradleIntegration = false
|
||||
}
|
||||
}
|
||||
|
||||
def rcAw = file("src/main/resources/reborncore.accesswidener")
|
||||
def trAw = rootProject.file("src/main/resources/techreborn.accesswidener")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue