File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,18 @@ dependencies {
3838
3939publishing {
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" )
You can’t perform that action at this time.
0 commit comments