Auto Upload

This commit is contained in:
Timo Ley 2019-05-24 23:12:28 +02:00
parent 782203b046
commit a140996243
3 changed files with 22 additions and 1 deletions

View file

@ -4,5 +4,6 @@ before_script:
build:
script:
- ./gradlew build
- ./gradlew curseforge285509
only:
- web

View file

@ -11,6 +11,10 @@ buildscript {
}
}
plugins {
id 'com.matthewprenger.cursegradle' version '1.2.0'
}
apply plugin: "net.minecraftforge.gradle.forge"
version = modVersion
@ -89,3 +93,17 @@ processResources {
exclude "mcmod.info"
}
}
curseforge {
apiKey = "$apiToken"
project {
id = "$projectID"
changelog = file('changelog.txt')
releaseType = "beta"
addGameVersion '1.12.2'
mainArtifact(jar) {
displayName = "Infinity Craft $modVersion"
}
}
}

View file

@ -3,4 +3,6 @@ modVersion=1.4
modBaseName=infinity
forgeVersion=1.12.2-14.23.5.2814
mcpVersion=stable_39
core_version=d406868225
core_version=d406868225
apiToken=0
projectID=285509