Skip to content
Snippets Groups Projects
Commit 12357c96 authored by dgelessus's avatar dgelessus
Browse files

Replace uses of deprecated Gradle assignment syntax

parent eb645bbc
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@ repositories {
mavenCentral()
if (isSnapshot) {
maven {
name "sonatype snapshots"
url "https://oss.sonatype.org/content/repositories/snapshots"
name = "sonatype snapshots"
url = "https://oss.sonatype.org/content/repositories/snapshots"
}
}
}
......@@ -144,11 +144,11 @@ publishing {
maven {
final releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
final snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots"
url isSnapshot ? snapshotsRepoUrl : releasesRepoUrl
url = isSnapshot ? snapshotsRepoUrl : releasesRepoUrl
if (project.hasProperty("ossrhUsername") && project.hasProperty("ossrhPassword")) {
credentials {
username project.ossrhUsername
password project.ossrhPassword
username = project.ossrhUsername
password = project.ossrhPassword
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment