Changing build setup for gradle artifact repo
This commit is contained in:
parent
caa0025e77
commit
355a5adf46
19
build.gradle
19
build.gradle
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user