Skip to content

Commit

Permalink
Merge pull request #69 from play-iot/bugfix/fix-nexus-link
Browse files Browse the repository at this point in the history
Bugfix/fix nexus link
  • Loading branch information
zero88 authored Mar 12, 2024
2 parents 260d9fa + ec66c99 commit 88a0532
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17
cache: 'gradle'

- name: Cache Gradle packages
Expand Down
6 changes: 5 additions & 1 deletion src/main/kotlin/cloud/playio/gradle/NexusVersion.kt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package cloud.playio.gradle

/**
* @see [sonatype](https://central.sonatype.org/publish/publish-guide/#accessing-repositories)
*/
enum class NexusVersion(val snapshotUrl: String, val releaseUrl: String) {

AFTER_2021_02_24(
"https://s01.oss.sonatype.org/content/repositories/snapshots/",
"https://s01.oss.sonatype.org/service/local/"
),
BEFORE_2021_02_24(
"https://oss.sonatype.org/content/repositories/snapshots/",
"https://oss.sonatype.org/service/local/staging/deploy/maven2"
"https://oss.sonatype.org/service/local/"
);
}

0 comments on commit 88a0532

Please sign in to comment.