Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix signing test cases

Fix signing test cases

Fix signing test cases

Fix signing test cases

Lazy illegal signing of snapshot module

Prior to this change, configuring signing in the build would always fail.

It now fails only if signing effectively happens.

    • -3
    • +32
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 2 more files in changeset.
Lazy illegal signing of snapshot module

Prior to this change, configuring signing in the build would always fail.

It now fails only if signing effectively happens.

    • -3
    • +32
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 2 more files in changeset.
Make it impossible to sign GMM file if snapshot

This commit, hopefully temporarily, makes it impossible to sign

a Gradle Module Metadata file if the version is a snapshot.

The reason is that the signature which would be produced would

be for the raw, unmodified module file. However, the final

file would be modified in case of a snapshot to include the

timestamp version instead of the `-SNAPSHOT` version for artifacts,

which means that the signature wouldn't match anymore.

To avoid this, we simply disallow signing in this case.

    • -0
    • +29
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 1 more file in changeset.
Make it impossible to sign GMM file if snapshot

This commit, hopefully temporarily, makes it impossible to sign

a Gradle Module Metadata file if the version is a snapshot.

The reason is that the signature which would be produced would

be for the raw, unmodified module file. However, the final

file would be modified in case of a snapshot to include the

timestamp version instead of the `-SNAPSHOT` version for artifacts,

which means that the signature wouldn't match anymore.

To avoid this, we simply disallow signing in this case.

    • -0
    • +29
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 1 more file in changeset.
Make it impossible to sign GMM file if snapshot

This commit, hopefully temporarily, makes it impossible to sign

a Gradle Module Metadata file if the version is a snapshot.

The reason is that the signature which would be produced would

be for the raw, unmodified module file. However, the final

file would be modified in case of a snapshot to include the

timestamp version instead of the `-SNAPSHOT` version for artifacts,

which means that the signature wouldn't match anymore.

To avoid this, we simply disallow signing in this case.

    • -0
    • +29
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 1 more file in changeset.
Avoid

    • -2
    • +2
    ./signing/SigningTasksIntegrationSpec.groovy
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./signing/SigningDistributionsIntegrationSpec.groovy
    • -5
    • +5
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 63 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./signing/SigningDistributionsIntegrationSpec.groovy
    • -5
    • +5
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 62 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./signing/SigningDistributionsIntegrationSpec.groovy
    • -5
    • +5
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 63 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -1
    • +1
    ./signing/SigningDistributionsIntegrationSpec.groovy
    • -5
    • +5
    ./signing/SigningPublicationsIntegrationSpec.groovy
  1. … 63 more files in changeset.
Explicitly expect auto-tested samples to use deprecatied APIs

    • -5
    • +0
    ./signing/AutoTestedSamplesSigningIntegrationTest.groovy
  1. … 3 more files in changeset.
Allow deprecation warnings to be collected for :core-api and :signing

    • -5
    • +0
    ./signing/AutoTestedSamplesSigningIntegrationTest.groovy
  1. … 2 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

    • -8
    • +19
    ./signing/SigningIntegrationSpec.groovy
    • -0
    • +1
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 33 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

    • -8
    • +19
    ./signing/SigningIntegrationSpec.groovy
    • -0
    • +1
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 33 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

    • -8
    • +19
    ./signing/SigningIntegrationSpec.groovy
    • -0
    • +1
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 34 more files in changeset.
Configure Javadoc and sources separately and create tasks only on demand

    • -8
    • +19
    ./signing/SigningIntegrationSpec.groovy
    • -0
    • +1
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 33 more files in changeset.
Remove manual creation of sourcesJar/javadocJar tasks from test fixtures

    • -25
    • +9
    ./signing/SigningIntegrationSpec.groovy
    • -1
    • +0
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 2 more files in changeset.
Remove manual creation of sourcesJar/javadocJar tasks from test fixtures

    • -25
    • +9
    ./signing/SigningIntegrationSpec.groovy
    • -1
    • +0
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 2 more files in changeset.
Remove manual creation of sourcesJar/javadocJar tasks from test fixtures

    • -25
    • +9
    ./signing/SigningIntegrationSpec.groovy
    • -1
    • +0
    ./signing/SigningTasksIntegrationSpec.groovy
  1. … 2 more files in changeset.
Merge branch 'inmem-subkey-signing' of https://github.com/szhem/gradle

* 'inmem-subkey-signing' of https://github.com/szhem/gradle:

Annotating additional useInMemoryPgpKeys that accepts keyId with @since 6.0 to respect binary compatibility checks Issue: #10363

Adding integration tests for samples which use in-memory signing subkeys Issue: #10363

Updating user guide to respect information about in-memory signing subkeys Issue: #10363

Added git issue number to the integration test according to the contribution guide Issue: #10363

Updating docs in order to show how to use in-memory subkeys Issue: #10363

Reverting back comments of useInMemoryPgpKeys Issue: #10363

Supporting in-memory signing subkeys Issue: #10363

    • -0
    • +54
    ./signing/SigningSamplesSpec.groovy
  1. … 1 more file in changeset.
Fix the "signing" plugin wrt maven plugin deprecation

    • -0
    • +5
    ./signing/AutoTestedSamplesSigningIntegrationTest.groovy
    • -0
    • +4
    ./signing/NoSigningCredentialsIntegrationSpec.groovy
  1. … 2 more files in changeset.
Fix the "signing" plugin wrt maven plugin deprecation

    • -0
    • +5
    ./signing/AutoTestedSamplesSigningIntegrationTest.groovy
    • -0
    • +4
    ./signing/NoSigningCredentialsIntegrationSpec.groovy
  1. … 2 more files in changeset.
Fix the "signing" plugin wrt maven plugin deprecation

    • -0
    • +5
    ./signing/AutoTestedSamplesSigningIntegrationTest.groovy
    • -0
    • +4
    ./signing/NoSigningCredentialsIntegrationSpec.groovy
  1. … 2 more files in changeset.
Adding integration tests for samples which use in-memory signing subkeys Issue: #10363

Signed-off-by: Sergey Zhemzhitsky <szhemzhitski@gmail.com>

    • -0
    • +54
    ./signing/SigningSamplesSpec.groovy
Added git issue number to the integration test according to the contribution guide Issue: #10363

Signed-off-by: Sergey Zhemzhitsky <szhemzhitski@gmail.com>

    • -0
    • +3
    ./signing/InMemoryPgpSignatoryProviderIntegrationSpec.groovy
Supporting in-memory signing subkeys Issue: #10363

Signed-off-by: Sergey Zhemzhitsky <szhemzhitski@gmail.com>

    • -0
    • +55
    ./signing/InMemoryPgpSignatoryProviderIntegrationSpec.groovy
  1. … 2 more files in changeset.