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

Replace uses of deprecated Gradle assignment syntax

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