Skip to content
Permalink
Browse files

Changing the build server setup. Version numbers handled by the serve…

…r entirely.
  • Loading branch information...
Ri5ux committed Mar 14, 2019
1 parent 8f42e78 commit 9973374657d9bb554e877813f0f66a2d2932e59b
Showing with 1 addition and 7 deletions.
  1. +1 −7 build.gradle
@@ -38,9 +38,6 @@ repositories {
}
}

def version_major=6
def version_minor=0
def version_micro=0
def version_minecraft="1.12.2"
def version_forge="14.23.4.2705"
def version_mappings="stable_39"
@@ -51,7 +48,7 @@ def curseforge_api_key=project.ext.properties.curseforge_api_key == null ? "0000
def mavenUsername=project.ext.properties.mavenUsername == null ? "user" : project.ext.properties.mavenUsername
def mavenPassword=project.ext.properties.mavenPassword == null ? "none" : project.ext.properties.mavenPassword

version = "${version_major}.${version_minor}.${version_micro}.${System.env.BUILD_NUMBER}"
version = "${System.env.PROJECT_VERSION}"
group = "org.avp"
archivesBaseName = "aliensvspredator"

@@ -135,9 +132,6 @@ idea {
inheritOutputDirs = true
}
}
task('setEnvironmentVariables', type:Exec) {
environment "PROJECT_VERSION", "${version}"
}
task("publishToMaven", dependsOn:"build") {
description = "Uploads the artifacts generated during the build process to the aliensvspredator maven repository"

0 comments on commit 9973374

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.