You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecation warning 'Space-assignment syntax in Groovy DSL has been deprecated' in 'github-dependency-graph-gradle-plugin-apply' [dependency submission]
#541
When using the dependency submission Gradle action (v4.2.2, with Gradle 8.12.1) the below deprecation warning is observed:
Script '/home/runner/.gradle/init.d/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy': line 18
Space-assignment syntax in Groovy DSL has been deprecated. This is scheduled to be removed in Gradle 10.0. Use assignment ('username = <value>') instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#groovy_space_assignment_syntax
at gradle_actions_github_dependen_6tsbd0rrkm2rw7c0ku7n1h9i0.run(/home/runner/.gradle/init.d/gradle-actions.github-dependency-graph.init.gradle:33)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Script '/home/runner/.gradle/init.d/gradle-actions.github-dependency-graph-gradle-plugin-apply.groovy': line 19
Space-assignment syntax in Groovy DSL has been deprecated. This is scheduled to be removed in Gradle 10.0. Use assignment ('password = <value>') instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.12/userguide/upgrading_version_8.html#groovy_space_assignment_syntax
at gradle_actions_github_dependen_6tsbd0rrkm2rw7c0ku7n1h9i0.run(/home/runner/.gradle/init.d/gradle-actions.github-dependency-graph.init.gradle:33)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Note this is used with private repositories w/ authentication via:
Thanks. It looks like the script is calling a method with username(pluginRepositoryUsername), but 'username' is actually a property with setters and getters.
So I suppose the now-correct call would be username = pluginRepositoryUsername or setUsername(pluginRepositoryUsername).
When using the dependency submission Gradle action (v4.2.2, with Gradle 8.12.1) the below deprecation warning is observed:
Note this is used with private repositories w/ authentication via:
The reference code doesn't appear to use space assignment directly, however.
The text was updated successfully, but these errors were encountered: