Fix publish plugin

This commit is contained in:
redtea committed 2024-06-27 23:59:03 +03:00
1 parent 4fccb6bcec
commit fc76eb1160
10 files changed
+24 -21

No files matched your search

+2 -2
View File
@@ -103,8 +103,8 @@ publishing {
val snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
credentials {
username = "itzRedTea"
password = project.findProperty("password").toString()
username = project.findProperty("ossrhUsername").toString()
password = project.findProperty("ossrhPassword").toString()
}
}