Changing build setup for gradle artifact repo

This commit is contained in:
NavidK0 2015-07-01 09:33:25 -04:00
parent caa0025e77
commit 355a5adf46

View File

@ -4,6 +4,7 @@ import java.nio.file.Path
plugins {
id 'java'
id "com.jfrog.artifactory" version "3.1.1"
}
println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion
@ -33,6 +34,24 @@ repositories {
}
}
artifactory {
contextUrl = 'http://localhost:8081/artifactory'
publish {
repository {
repoKey = 'libs-release-local'
username = 'admin'
password = 'AP8CX2wEWG8bxfMkUxnycYxQF4s9rttomEXr62'
}
}
resolve {
repository {
repoKey = 'repo'
username = 'admin'
password = 'AP8CX2wEWG8bxfMkUxnycYxQF4s9rttomEXr62'
}
}
}
file('libs').mkdirs()
//Retrieves spigot.jar server file from link