Skip to content

Commit 06958fd

Browse files
committed
Added correct publication settings
1 parent 3c6d305 commit 06958fd

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

build.gradle

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@ sourceCompatibility = 1.7
1919
targetCompatibility = 1.7
2020

2121
publishing {
22+
repositories {
23+
maven {
24+
name = "GitHubPackages"
25+
url = uri("https://maven.pkg.github.com/dmi3coder/behaiv-java")
26+
credentials {
27+
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
28+
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
29+
}
30+
}
31+
}
2232
publications {
23-
maven(MavenPublication) {
24-
groupId = 'de.dmi3y.behaiv'
25-
artifactId = 'behaiv'
26-
version = '0.4.8-alpha'
27-
from components.java
33+
gpr(MavenPublication) {
34+
from(components.java)
2835
}
2936
}
3037
}

0 commit comments

Comments
 (0)