Skip to content

Commit 1aca756

Browse files
committed
Add Maven repository configuration for OneLiteFeather
1 parent d1afe3a commit 1aca756

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@ dependencies {
2424

2525

2626
publishing {
27+
repositories {
28+
maven {
29+
name = "OneLiteFeatherRepository"
30+
url = if (project.version.toString().contains("SNAPSHOT")) {
31+
uri("https://repo.onelitefeather.dev/onelitefeather-snapshots")
32+
} else {
33+
uri("https://repo.onelitefeather.dev/onelitefeather-releases")
34+
}
35+
credentials(PasswordCredentials::class)
36+
authentication {
37+
create<BasicAuthentication>("basic")
38+
}
39+
}
40+
}
2741
publications {
2842
create<MavenPublication>("maven") {
2943
pom {

0 commit comments

Comments
 (0)