Skip to content

Commit a36eeb5

Browse files
committed
Узоры
1 parent 521773c commit a36eeb5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,16 @@ signing {
243243

244244
publishing {
245245
repositories {
246-
val sonatypeUsername: String? by project
247-
val sonatypePassword: String? by project
248246
maven {
249247
name = "sonatype"
250-
val repoUrl = if (isSnapshot)
251-
"https://s01.oss.sonatype.org/content/repositories/snapshots/"
248+
url = if (isSnapshot)
249+
uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
252250
else
253-
"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
251+
uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
252+
253+
val sonatypeUsername: String? by project
254+
val sonatypePassword: String? by project
254255

255-
url = uri(repoUrl)
256256
credentials {
257257
username = sonatypeUsername // ORG_GRADLE_PROJECT_sonatypeUsername
258258
password = sonatypePassword // ORG_GRADLE_PROJECT_sonatypePassword

0 commit comments

Comments
 (0)