Update Dependency verification section in ReadMe.md
This commit is contained in:
committed by
Space Team
parent
5df50c0fca
commit
77e5f077f3
@@ -133,16 +133,17 @@ to perform such updates:
|
|||||||
- Use auto-generation for getting an initial list of new hashes (verify updates relate to you changes).
|
- Use auto-generation for getting an initial list of new hashes (verify updates relate to you changes).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./gradlew -i --write-verification-metadata sha256,md5 -Pkotlin.native.enabled=true help
|
./gradlew -i --write-verification-metadata sha256,md5 -Pkotlin.native.enabled=true resolveDependencies
|
||||||
```
|
```
|
||||||
|
|
||||||
*(any other task may be used instead of `help`)*
|
*(`resolveDependencies` task resolves dependencies for all platforms including dependencies downloaded by plugins)*
|
||||||
|
|
||||||
- Consider removing old versions from the file if you are updating dependencies.
|
- Consider removing old versions from the file if you are updating dependencies.
|
||||||
- Leave meaningful `origin` attribute (instead of `Generated by Gradle`) if you did some manual verification of the artifact.
|
- Leave meaningful `origin` attribute (instead of `Generated by Gradle`) if you did some manual verification of the artifact.
|
||||||
- Always do manual verification if several hashes are needed, and a new `also-trust` tag has to be added.
|
- Always do manual verification if several hashes are needed, and a new `also-trust` tag has to be added.
|
||||||
- If you’re adding a dependency with OS mentioning in an artifact name (`darwin`, `mac`, `osx`, `linux`, `windows`), remember to add
|
- If you’re adding a dependency with OS mentioning in an artifact name (`darwin`, `mac`, `osx`, `linux`, `windows`), remember to add them to
|
||||||
counterparts for other platforms.
|
`implicitDependencies` configuration or update `resolveDependencies` task if needed. `resolveDependencies` should resolve all dependencies
|
||||||
|
including dependencies for different platforms.
|
||||||
|
|
||||||
## Using -dev and -SNAPSHOT versions
|
## Using -dev and -SNAPSHOT versions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user