Skip to content

Move away from deprecated Gradle syntax#898

Merged
labkey-susanh merged 1 commit intodevelopfrom
fb_gradleSyntaxUpdate
Feb 27, 2026
Merged

Move away from deprecated Gradle syntax#898
labkey-susanh merged 1 commit intodevelopfrom
fb_gradleSyntaxUpdate

Conversation

@labkey-susanh
Copy link
Contributor

Rationale

Gradle kindly informs us that:

The archives configuration has been deprecated for artifact declaration. This will fail with an error in Gradle 10. Add artifacts as direct task dependencies of the 'assemble' task instead of declaring them in the archives configuration. Consult the upgrading guide for further information: https://docs.gradle.org/9.3.1/userguide/upgrading_version_9.html#sec:archives-configurationt

They have also deprecated the use of a method for setting the duplicate strategy, but I don't have their nice message on hand to prove it. You'll just have to believe me on this one.

Changes

  • duplicateStrategy set with =
  • declare dependency on assemble task instead of using an artifact

@labkey-susanh labkey-susanh merged commit 49d31fb into develop Feb 27, 2026
9 checks passed
@labkey-susanh labkey-susanh deleted the fb_gradleSyntaxUpdate branch February 27, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants