Skip to content

Commit 138f1f8

Browse files
authored
ci: Update Sonatype repository configuration for maven central. (#43)
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Medium Risk** > Moderate risk because it changes the Nexus publishing configuration used for releases/snapshots; incorrect endpoints could break publishing but does not affect runtime code. > > **Overview** > Updates Gradle `nexusPublishing` configuration to stop using the default `sonatype()` shorthand and instead explicitly set the new Sonatype Central staging (`nexusUrl`) and snapshot (`snapshotRepositoryUrl`) endpoints, with the existing timeout preserved. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit ac10dd3. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 568c177 commit 138f1f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ signing {
100100
nexusPublishing {
101101
clientTimeout = java.time.Duration.ofMinutes(2) // we've seen extremely long delays in creating repositories
102102
repositories {
103-
sonatype()
103+
sonatype{
104+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
105+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
106+
}
104107
}
105108
}
106109

0 commit comments

Comments
 (0)