Skip to content

Commit

Permalink
ci: we don't need to explicitly set repository information for maven …
Browse files Browse the repository at this point in the history
…repository
  • Loading branch information
janniclas committed Oct 24, 2024
1 parent 6832ba6 commit 057bb9d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions buildSrc/src/main/kotlin/spha-kotlin-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,6 @@ mavenPublishing {
url = "https://github.com/fraunhofer-iem/software-product-health-analyzer"
}
}

repositories {
maven {
name = "mavenCentral"
val releasesRepoUrl =
"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
val snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
url =
uri(
if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl
else releasesRepoUrl
)
}
}
}

kotlin {
Expand Down

0 comments on commit 057bb9d

Please sign in to comment.