project: create poms when building, and utilize them in bootstrap. (#2259)
* project: create poms when building, and utilize them in bootstrap. * gradle: only publish during bootstrapping Co-authored-by: Owain van Brakel <owain.vanbrakel@gmail.com>
This commit is contained in:
@@ -92,22 +92,16 @@ subprojects {
|
||||
configure<PublishingExtension> {
|
||||
repositories {
|
||||
maven {
|
||||
name = "runelite"
|
||||
url = uri("https://maven.pkg.github.com/open-osrs/runelite")
|
||||
credentials {
|
||||
username = System.getProperty("gpr_user")
|
||||
password = System.getProperty("gpr_key")
|
||||
}
|
||||
url = uri("$buildDir/repo")
|
||||
}
|
||||
}
|
||||
publications {
|
||||
register("gpr", MavenPublication::class) {
|
||||
register("mavenJava", MavenPublication::class) {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tasks {
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
|
||||
Reference in New Issue
Block a user