From 12357c96b332e2fc8438c3c164e7faaf39967c28 Mon Sep 17 00:00:00 2001 From: dgelessus <dgelessus@users.noreply.github.com> Date: Fri, 28 Feb 2025 15:18:28 +0100 Subject: [PATCH] Replace uses of deprecated Gradle assignment syntax --- build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 97832fc..d93d083 100644 --- a/build.gradle +++ b/build.gradle @@ -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 } } } -- GitLab