mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
fingers crossed and hope for the best
This commit is contained in:
parent
f16189181b
commit
9232ac87a2
4 changed files with 24 additions and 21 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -10,7 +10,7 @@ pipeline {
|
|||
sh "rm -rf build/libs/"
|
||||
sh "chmod +x gradlew"
|
||||
sh "./gradlew clean --stacktrace"
|
||||
sh "./gradlew build publish --refresh-dependencies --stacktrace"
|
||||
sh "./gradlew build publish curseforge --refresh-dependencies --stacktrace"
|
||||
|
||||
archiveArtifacts artifacts: '**/build/libs/*.jar', fingerprint: true
|
||||
}
|
||||
|
|
39
build.gradle
39
build.gradle
|
@ -6,7 +6,7 @@ plugins {
|
|||
id 'fabric-loom' version '0.2.3-SNAPSHOT' apply false
|
||||
id 'net.minecrell.licenser' version '0.4.1'
|
||||
id "org.ajoberstar.grgit" version "3.1.1"
|
||||
// id 'com.matthewprenger.cursegradle' version "1.1.2"
|
||||
id 'com.matthewprenger.cursegradle' version "1.1.2"
|
||||
}
|
||||
|
||||
def ENV = System.getenv()
|
||||
|
@ -175,22 +175,25 @@ dependencies {
|
|||
|
||||
version = baseVersion + "+" + (ENV.BUILD_NUMBER ? ("build." + ENV.BUILD_NUMBER) : "local")
|
||||
|
||||
//curseforge {
|
||||
// if (project.hasProperty('curse_api_key')){
|
||||
// apiKey = project.getProperty('curse_api_key')
|
||||
// }
|
||||
// project {
|
||||
// id = '306612'
|
||||
// changelog = 'A changelog can be found at https://github.com/FabricMC/fabric/commits/master'
|
||||
// releaseType = 'alpha'
|
||||
// addGameVersion '1.14-Snapshot'
|
||||
// mainArtifact(jar) {
|
||||
// displayName = "[$mcVersion] Fabric API $baseVersion build $ENV.BUILD_NUMBER"
|
||||
// }
|
||||
// }
|
||||
// options{
|
||||
// forgeGradleIntegration = false
|
||||
// }
|
||||
//}
|
||||
curseforge {
|
||||
if (project.hasProperty('curse_api_key')){
|
||||
apiKey = project.getProperty('curse_api_key')
|
||||
}
|
||||
project {
|
||||
id = '306612'
|
||||
changelog = 'A changelog can be found at https://github.com/FabricMC/fabric/commits/master'
|
||||
releaseType = 'alpha'
|
||||
addGameVersion '1.14-Snapshot'
|
||||
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar")) {
|
||||
displayName = "[$mcVersion] Fabric API $baseVersion build $ENV.BUILD_NUMBER"
|
||||
}
|
||||
afterEvaluate {
|
||||
uploadTask.dependsOn("remapJar")
|
||||
}
|
||||
}
|
||||
options{
|
||||
forgeGradleIntegration = false
|
||||
}
|
||||
}
|
||||
|
||||
apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/ideconfig.gradle'
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"version": "${version}",
|
||||
"license": "Apache-2.0",
|
||||
"mixins": [
|
||||
"fabric-events-lifecycle.mixins.json"
|
||||
"fabric-events-lifecycle-v0.mixins.json"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"version": "${version}",
|
||||
"license": "Apache-2.0",
|
||||
"mixins": [
|
||||
"fabric-object-builders.mixins.json"
|
||||
"fabric-object-builders-v0.mixins.json"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue