Include build number in version.
This commit is contained in:
@@ -17,6 +17,11 @@ apply plugin: 'maven-publish'
|
|||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
|
||||||
version = "1.6"
|
version = "1.6"
|
||||||
|
def env = System.getenv()
|
||||||
|
if (env.BUILD_NUMBER) {
|
||||||
|
version = version + "-" + "${env.BUILD_NUMBER}"
|
||||||
|
}
|
||||||
|
|
||||||
group = "refinedstorage"
|
group = "refinedstorage"
|
||||||
archivesBaseName = "refinedstorage"
|
archivesBaseName = "refinedstorage"
|
||||||
|
|
||||||
@@ -125,7 +130,7 @@ publishing {
|
|||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url "/var/www/repo"
|
url "/var/www/repo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user