diff --git a/build.gradle b/build.gradle
index 384cc2c8607309349ec303203a8f426d3351acf7..a95fe724541cfb79a61a291e07f3823dfd987ef5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,6 +15,13 @@ buildscript {
     }
 }
 
+repositories {
+    maven {
+		name = "Advanced Mods maven"
+		url = "https://maven.advancedmods.com"
+    }
+}
+
 apply plugin: 'forge'
 apply plugin: 'maven'
 apply plugin: 'maven-publish'
@@ -32,8 +39,8 @@ else
     println "!! No build number set !!"
 }*/
 
-project.ext.maven_pass=""
-project.buildnumber = "1"
+//project.ext.maven_pass=""
+project.buildnumber = "2"
 
 version = "1.7.10-0.2.2-B1" + "-" + project.buildnumber
 group= "com.advancedmods" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
@@ -91,8 +98,8 @@ dependencies {
 uploadArchives {
     repositories.mavenDeployer {
 	configuration = configurations.deployerJars
-	repository(url: "sftp://web1.zsnode.com/srv/users/maven/apps/maven-repo-public/public") {
-	    authentication(userName: "maven", password: project.maven_pass)
+	repository(url: "sftp://web1.zsnode.com/srv/users/advancedmods/apps/advancedmods-maven/public") {
+	    authentication(userName: "advancedmods", password: project.maven_pass)
 	}
     }
 }