Skip to content

Commit

Permalink
Fix instructions for skipping sha256 and sha512
Browse files Browse the repository at this point in the history
Also document their creation in the publishing chapter.

Issue #11308
  • Loading branch information
ljacomet committed Nov 15, 2019
1 parent 1f9f31d commit cc28a55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions subprojects/docs/src/docs/release/notes.md
Expand Up @@ -278,8 +278,8 @@ In addition, the Gradle Module Metadata file also includes SHA256 and SHA512 che

Since 6.0.1, if your external repository doesn't support SHA256 and/or SHA512 checksums, it is possible to disable upload of those checksums:

- add `-Dorg.gradle.internal.publish.checksums.insecure` to the CLI or
- add `org.gradle.internal.publish.checksums.insecure=true` to your `gradle.properties` file
- add `-Dorg.gradle.internal.publish.checksums.insecure=true` to the CLI or
- add `systemProp.org.gradle.internal.publish.checksums.insecure=true` to your `gradle.properties` file

### Support for in-memory signing with subkeys

Expand Down
Expand Up @@ -44,9 +44,14 @@ For example, a publication destined for a Maven repository includes:
* The Maven POM file will identify the primary artifact and its dependencies.
The primary artifact is typically the project's production JAR and secondary artifacts might consist of "-sources" and "-javadoc" JARs.

+
In addition, Gradle will publish checksums for all of the above, and <<publishing_signing.adoc#,signatures>> when configured to do so.
From Gradle 6.0 onwards, this includes `SHA256` and `SHA512` checksums.

[[publishing_overview:where]]
Where to publish::
Gradle needs to know where to publish artifacts so that consumers can get hold of them. This is done via <<dependency_management_terminology.adoc#sub:terminology_repository,repositories>>, which store and make available all sorts of artifact. Gradle also needs to interact with the repository, which is why you must provide the type of the repository and its location.
Gradle needs to know where to publish artifacts so that consumers can get hold of them. This is done via <<dependency_management_terminology.adoc#sub:terminology_repository,repositories>>, which store and make available all sorts of artifact.
Gradle also needs to interact with the repository, which is why you must provide the type of the repository and its location.

[[publishing_overview:how]]
How to publish::
Expand Down

0 comments on commit cc28a55

Please sign in to comment.