We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef05558 commit b10c646Copy full SHA for b10c646
build.gradle
@@ -80,13 +80,18 @@ shadowJar.archiveFileName = "ShowScript-all.jar"
80
81
publishing {
82
publications {
83
- maven(MavenPublication) {
84
- from(components.java)
+ gpr(MavenPublication) {
+ from components.java
85
}
86
87
repositories {
88
maven {
89
- url = uri('https://repo.maven.apache.org/maven2/')
+ name = "GitHubPackages"
90
+ url = uri("https://maven.pkg.github.com/OWNER/REPOSITORY")
91
+ credentials {
92
+ username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
93
+ password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
94
+ }
95
96
97
0 commit comments