Skip to content

Commit

Permalink
update to artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
dries007 committed Sep 7, 2014
1 parent 19c19dc commit d7eed7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Expand Up @@ -106,11 +106,12 @@ idea {
}

uploadArchives {
String repo = "/var/www/ddd/maven/";
if (new File(repo).exists()) {
if (project.hasProperty("dddUser") && project.hasProperty("dddPass")) {
repositories {
mavenDeployer {
repository(url: "file://localhost" + repo)
repository(url: "http://doubledoordev.net:8081/artifactory/mods") {
authentication(userName: dddUser, password: dddPass)
}
pom {
groupId = project.group
version = project.minecraft.version + "-" + project.version
Expand Down

0 comments on commit d7eed7c

Please sign in to comment.