Edit buildscript for Jenkins building
This commit is contained in:
parent
1c75d4f648
commit
2fba1efae0
16
build.gradle
16
build.gradle
|
@ -12,13 +12,13 @@ buildscript {
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "net.minecraftforge.gradle.forge" version "2.0.2"
|
id "net.minecraftforge.gradle.forge" version "2.0.2"
|
||||||
id 'com.matthewprenger.cursegradle' version '1.0.4'
|
id 'com.matthewprenger.cursegradle' version '1.0.5'
|
||||||
id 'net.franz-becker.gradle-lombok' version '1.5'
|
id 'net.franz-becker.gradle-lombok' version '1.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
def build_number = '1'
|
def build_number = 'CUSTOM'
|
||||||
|
|
||||||
if (System.getenv('BUILD_NUMBER') != null)
|
if (System.getenv('BUILD_NUMBER') != null)
|
||||||
build_number = System.getenv('BUILD_NUMBER')
|
build_number = System.getenv('BUILD_NUMBER')
|
||||||
|
@ -146,8 +146,13 @@ publishing {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def curseRelations = {
|
||||||
|
optionalLibrary 'just-enough-items-jei'
|
||||||
|
optionalLibrary 'waila'
|
||||||
|
}
|
||||||
|
|
||||||
curseforge {
|
curseforge {
|
||||||
if (project.hasProperty('curse_key'))
|
if (project.hasProperty('curse_key_WayofTime'))
|
||||||
apiKey = project.curse_key
|
apiKey = project.curse_key
|
||||||
|
|
||||||
project {
|
project {
|
||||||
|
@ -155,6 +160,11 @@ curseforge {
|
||||||
changelog = project.hasProperty('changelog') ? project.changelog : ''
|
changelog = project.hasProperty('changelog') ? project.changelog : ''
|
||||||
releaseType = 'beta'
|
releaseType = 'beta'
|
||||||
|
|
||||||
|
addGameVersion '1.8.8'
|
||||||
|
addGameVersion '1.8.9'
|
||||||
|
|
||||||
|
relations curseRelations
|
||||||
|
|
||||||
addArtifact javadocJar
|
addArtifact javadocJar
|
||||||
addArtifact sourceJar
|
addArtifact sourceJar
|
||||||
addArtifact apiJar
|
addArtifact apiJar
|
||||||
|
|
Loading…
Reference in a new issue