Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(deprecation): remove deprecated gradle constructs/features t…
…o be consumed by other spinnaker components (#194) While executing the build script with --warning-mode=fail for fiat, gate, clouddriver, orca, front50, igor, echo and halyard received below error: ``` Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0 ``` And the common deprecated gradle feature is: ``` Copying or archiving duplicate paths with the default duplicates strategy has been deprecated. This is scheduled to be removed in Gradle 7.0. Explicitly set the duplicates strategy to 'DuplicatesStrategy.INCLUDE' if we want to allow duplicate paths. Consult the upgrading guide for further information: https://docs.gradle.org/6.8.3/userguide/upgrading_version_5.html#implicit_duplicate_strategy_for_copy_or_archive_tasks_has_been_deprecated ``` The issue is raised by `processResources` and `sourceJar` tasks and both inherit from `AbstractCopyTask`. So updated the tasks of type `AbstractCopyTask` with `duplicatesStrategy` property explicitly in `spinnaker-project-plugin`, that makes the property consumable by all spinnaker components.
- Loading branch information