Skip to content

Commit

Permalink
Merge pull request #46 from liquip/nightly
Browse files Browse the repository at this point in the history
Add standalone publishing
  • Loading branch information
sqyyy-jar authored Mar 25, 2023
2 parents abdad09 + 72b9e65 commit a2ce613
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions paper-standalone/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
`java-library`
`maven-publish`
id("com.github.johnrengelman.shadow") version "7.1.2"
}

Expand All @@ -9,6 +10,24 @@ java {
}
}

configure<PublishingExtension> {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/liquip/liquip-plugin")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
}
}
}
publications {
register<MavenPublication>("gpr") {
from(components["java"])
}
}
}

repositories {
maven {
url = uri("https://maven.pkg.github.com/sqyyy-jar/jcougar-ui")
Expand Down

0 comments on commit a2ce613

Please sign in to comment.