Skip to content

Commit 52eb3e2

Browse files
authored
Update build.gradle URLs (#175)
1 parent 780060d commit 52eb3e2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
matrix:
117117
# TODO: Docker on macos-latest running is not working
118118
# TODO: Windows pinned back
119-
os: [macos-latest, windows-2019]
119+
os: [macos-latest, windows-2022]
120120
java-distribution: [adopt]
121121
java-version: [8, 11, 17, 21, 22]
122122

build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ nexusPublishing {
184184
// stagingProfileId.set(System.getenv("OSSRH_STAGING_PROFILE_ID"))
185185
username.set(System.getenv("OSSRH_USERNAME"))
186186
password.set(System.getenv("OSSRH_PASSWORD"))
187-
// For newer Sonatype accounts (after Feb 2021) use "s01.oss.sonatype.org":
188-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
189-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
187+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
188+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
190189
}
191190
}
192191
}

0 commit comments

Comments
 (0)