1.2 KiB
1.2 KiB
name | about | title | labels | assignees |
---|---|---|---|---|
Dependency update | Update existing dependency to a new version. | dependencies |
For a Gradle dependency:
- Update the dependency version in the root
gradle.properties
- Update the dependency locks
- For Gradle plugins:
./gradlew dependencies --write-locks
- For Gradle dependencies:
./gradlew resolveAll --write-locks
- For Gradle plugins:
- Verify no unexpected entries appear in the lockfiles. A supply chain attack could occur during this stage. The lockfile narrows the supply chain attack window to this very moment (as opposed to every time a build occurs)
- Are there any new APIs or possible migrations for this dependency?
For Gradle itself:
- Update the Gradle version in
gradle/wrapper/gradle-wrapper.properties
- Update the Gradle SHA in
gradle/wrapper/gradle-wrapper.properties
- Update the Gradle wrapper by running
./gradlew wrapper --write-locks
- Verify no unexpected entries appear in the lockfiles. A supply chain attack could occur during this stage. The lockfile narrows the supply chain attack window to this very moment (as opposed to every time a build occurs)
- Are there any new APIs or possible migrations?