Skip to content

Commit

Permalink
replaced string with properties
Browse files Browse the repository at this point in the history
  • Loading branch information
astrapisixtynine committed Jul 3, 2024
1 parent 004ecbf commit 6035dc5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions gradle/repositories.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
repositories {
mavenLocal()
mavenCentral()
/**
* This repository is intended for release versions
**/
maven {
name "Sonatype Nexus Releases"
url "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
name "$projectRepositoriesReleasesName"
url "$projectRepositoriesReleasesRepoUrl"
mavenContent {
releasesOnly()
}
}
/**
* This repository is intended for snapshot versions that are previously deployed
* on the specified url for snapshots
**/
maven {
name "Sonatype Nexus Snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
name "$projectRepositoriesSnapshotsName"
url "$projectRepositoriesSnapshotsRepoUrl"
mavenContent {
snapshotsOnly()
}
Expand Down

0 comments on commit 6035dc5

Please sign in to comment.