Skip to content

Commit 937a4e6

Browse files
committed
Merge branch 'main' into feat/v3
2 parents 8788150 + ff71833 commit 937a4e6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build.gradle.kts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,18 @@ dependencies {
3838

3939
publishing {
4040
publications.create<MavenPublication>("maven") {
41+
pom.url.set("https://thenextlvl.net/docs/serviceio")
42+
pom.scm {
43+
val repository = "TheNextLvl-net/service-io"
44+
url.set("https://github.com/$repository")
45+
connection.set("scm:git:git://github.com/$repository.git")
46+
developerConnection.set("scm:git:ssh://github.com/$repository.git")
47+
}
4148
from(components["java"])
4249
}
4350
repositories.maven {
44-
val channel = if ((version as String).contains("-pre")) "snapshots" else "releases"
45-
url = uri("https://repo.thenextlvl.net/$channel")
51+
val branch = if (version.toString().contains("-pre")) "snapshots" else "releases"
52+
url = uri("https://repo.thenextlvl.net/$branch")
4653
credentials {
4754
username = System.getenv("REPOSITORY_USER")
4855
password = System.getenv("REPOSITORY_TOKEN")

0 commit comments

Comments
 (0)