33 lines
No EOL
731 B
Groovy
33 lines
No EOL
731 B
Groovy
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.18.2"
|
|
addGameVersion "Fabric"
|
|
|
|
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))
|
|
|
|
afterEvaluate {
|
|
uploadTask.dependsOn("remapJar")
|
|
}
|
|
}
|
|
|
|
options {
|
|
forgeGradleIntegration = false
|
|
}
|
|
} |