mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-22 14:16:53 +01:00
updated to publish to clip nexus repo
This commit is contained in:
parent
f9156209e7
commit
8f9b999e5a
17
build.gradle
17
build.gradle
@ -80,15 +80,22 @@ sourceSets {
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://repo.extendedclip.com/content/repositories/public/")
|
||||
|
||||
credentials {
|
||||
username = System.getProperty("JENKINS_USER")
|
||||
password = System.getProperty("JENKINS_PASS")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
groupId = project.group
|
||||
artifactId = project.name
|
||||
version = project.version.toString()
|
||||
|
||||
from(components.java)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishToMavenLocal.dependsOn clean, test, jar
|
||||
publish.dependsOn clean, test, jar
|
Loading…
Reference in New Issue
Block a user