Bump version to 2.2
This commit is contained in:
parent
fb888cb769
commit
db3c7f0585
1 changed files with 199 additions and 200 deletions
21
build.gradle
21
build.gradle
|
@ -61,7 +61,8 @@ repositories {
|
||||||
url = "http://maven.ic2.player.to/"
|
url = "http://maven.ic2.player.to/"
|
||||||
}
|
}
|
||||||
|
|
||||||
maven {// HWYLA
|
maven {
|
||||||
|
// HWYLA
|
||||||
name "TehNut"
|
name "TehNut"
|
||||||
url "http://tehnut.info/maven/"
|
url "http://tehnut.info/maven/"
|
||||||
}
|
}
|
||||||
|
@ -77,7 +78,7 @@ configurations {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
version = "2.1.11"
|
version = "2.2.0"
|
||||||
|
|
||||||
def ENV = System.getenv()
|
def ENV = System.getenv()
|
||||||
if (ENV.BUILD_NUMBER) {
|
if (ENV.BUILD_NUMBER) {
|
||||||
|
@ -191,15 +192,12 @@ uploadArchives {
|
||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
//This is used when the build is done on a slave node
|
//This is used when the build is done on a slave node
|
||||||
if (project.hasProperty('mavenPass'))
|
if (project.hasProperty('mavenPass')) {
|
||||||
{
|
|
||||||
println 'Uploading to remote Maven Repo'
|
println 'Uploading to remote Maven Repo'
|
||||||
repository(url: "http://mavenupload.modmuss50.me/") {
|
repository(url: "http://mavenupload.modmuss50.me/") {
|
||||||
authentication(userName: "buildslave", password: project.getProperty('mavenPass'))
|
authentication(userName: "buildslave", password: project.getProperty('mavenPass'))
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
//this is when the build is executed on the master node
|
//this is when the build is executed on the master node
|
||||||
println 'Uploading to local Maven Repo'
|
println 'Uploading to local Maven Repo'
|
||||||
repository(url: "file:///var/www/maven/")
|
repository(url: "file:///var/www/maven/")
|
||||||
|
@ -310,14 +308,15 @@ build.dependsOn signJar
|
||||||
|
|
||||||
apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/ideconfig.gradle'
|
apply from: 'https://github.com/FabricMC/fabric-docs/raw/master/gradle/ideconfig.gradle'
|
||||||
|
|
||||||
import org.apache.commons.io.FileUtils;
|
import groovy.util.XmlSlurper
|
||||||
import groovy.util.XmlSlurper;
|
import org.apache.commons.io.FileUtils
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
task curseTools {
|
task curseTools {
|
||||||
doLast {
|
doLast {
|
||||||
def cacheFiles = new File(".gradle/curseTools")
|
def cacheFiles = new File(".gradle/curseTools")
|
||||||
if (!cacheFiles.exists()) cacheFiles.mkdirs()
|
if (!cacheFiles.exists()) {
|
||||||
|
cacheFiles.mkdirs()
|
||||||
|
}
|
||||||
|
|
||||||
def mavenMetadata = new File(cacheFiles, "maven-metadata.xml")
|
def mavenMetadata = new File(cacheFiles, "maven-metadata.xml")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue