Commit 932aeb85 authored by primetoxinz's avatar primetoxinz

Maven repo \o/

parent b3982473
......@@ -9,7 +9,7 @@ buildscript {
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.3.4-1.12"
version = "1.3.6-1.12"
group = "betterwithmods"
archivesBaseName = "Better With Mods"
......@@ -18,6 +18,10 @@ compileJava {
sourceCompatibility = targetCompatibility = "1.8"
}
if (System.getenv().BUILD_NUMBER != null) {//adds the build number to the end of the version string if on a build server
version += ".${System.getenv().BUILD_NUMBER}"
}
minecraft {
version = "1.12-14.21.1.2413"
runDir = "run"
......@@ -25,6 +29,7 @@ minecraft {
replace "%VERSION%":"${project.version}"
useDepAts = true
}
repositories {
maven { url 'http://dvs1.progwml6.com/files/maven' }
maven { url "http://blamejared.com/maven" }
......@@ -52,6 +57,23 @@ artifacts {
archives deobfJar
}
configurations {
deployerJars
}
dependencies {
deployerJars 'org.apache.maven.wagon:wagon-ftp:2.2'
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "file:///var/www/html/maven")
}
}
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment