add new nexus-publish plugin config for sonatype
@@ -138,11 +138,13 @@ publishing {
}
nexusPublishing {
- serverUrl = uri("https://oss.sonatype.org/service/local/")
- snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
+ repositories {
+ sonatype {
username = nexusUser
password = nexusPassword
}
+ }
+}
compileKotlin {
kotlinOptions {
