Skip to content

Commit 2f61266

Browse files
committed
chore: add GitHubPackages repository
1 parent 15ab6ac commit 2f61266

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ dependencies {
3131
}
3232

3333
publishing {
34+
repositories {
35+
maven {
36+
name = "GitHubPackages"
37+
url = uri("https://maven.pkg.github.com/ahunigel/${project.name}")
38+
credentials {
39+
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
40+
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
41+
}
42+
}
43+
}
3444
publications {
3545
maven(MavenPublication) {
3646
from components.java

0 commit comments

Comments
 (0)