mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-13 23:26:48 +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 {
|
publishing {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url = uri("https://repo.extendedclip.com/content/repositories/public/")
|
||||||
|
|
||||||
|
credentials {
|
||||||
|
username = System.getProperty("JENKINS_USER")
|
||||||
|
password = System.getProperty("JENKINS_PASS")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
groupId = project.group
|
|
||||||
artifactId = project.name
|
|
||||||
version = project.version.toString()
|
|
||||||
|
|
||||||
from(components.java)
|
from(components.java)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publishToMavenLocal.dependsOn clean, test, jar
|
publish.dependsOn clean, test, jar
|
Loading…
Reference in New Issue
Block a user