Skip to content

Commit

Permalink
Configure publication to Maven Central staging repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pshevche committed Mar 14, 2024
1 parent e68dcb0 commit 533b8cd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
plugins {
alias(libs.plugins.nexus.publish)
}

nexusPublishing {
repositories {
sonatype {
// https://central.sonatype.org/news/20210223_new-users-on-s01/
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
}
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[plugins]
nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version = "1.3.0" }

[libraries]
gradle-enterprise-plugin = { module = "com.gradle:gradle-enterprise-gradle-plugin", version = "3.16.2" }
develocity-plugin = { module = "com.gradle:develocity-gradle-plugin", version = "3.17-rc-4" }
Expand Down

0 comments on commit 533b8cd

Please sign in to comment.