Skip to content

Commit

Permalink
maven-publish.gradle: fix 2 deprecation warnings
Browse files Browse the repository at this point in the history
The warnings were:

Space-assignment syntax in Groovy DSL has been deprecated.
This is scheduled to be removed in Gradle 10.0.
Use assignment ('url = <value>') instead. Consult the upgrading guide
for further information: 
https://docs.gradle.org/8.12.1/userguide/upgrading_version_8.html#groovy_space_assignment_syntax

With this fix there are currently no deprecation warnings.
  • Loading branch information
msgilligan committed Jan 29, 2025
1 parent 6713b4c commit ff0135f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/maven-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ subprojects { sub ->
repositories {
def secpJdkGitLabProjectId = "55956336"
maven {
url "https://gitlab.com/api/v4/projects/${secpJdkGitLabProjectId}/packages/maven"
name "GitLab"
url = "https://gitlab.com/api/v4/projects/${secpJdkGitLabProjectId}/packages/maven"
name = "GitLab"
credentials(HttpHeaderCredentials) {
name = 'Private-Token'
value = project.findProperty("gitLabMavenToken")
Expand Down

0 comments on commit ff0135f

Please sign in to comment.