Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Disallow serializing `TaskDependency` instances to the configuration cache.

  1. … 1 more file in changeset.
Never execute a real Gradle distribution in embedded test mode

This will become unsupported such that we do not need to assemble

the distribution for embedded mode anymore. The tests that

are affected by this were checked and are adjusted:

- If the test can run embedded, the restriction that the test requires

a distribution is removed. This is the case for some older tests

that were not checked for a long time and tests that involve TestKit

or KotlinDSL, for which the embedded support is improved in the next

commit.

- If the test only requires a forked process, but not a complete

distribution, it can run a new process based on the current

classpath using 'requiresDaemon().requiresIsolatedDaemon()'.

- If the test needs a real distribution, it is ignored in embedded mode.

  1. … 105 more files in changeset.
Fix codenarc

Use --passphrase-fd to supply passphrase to gpg2

  1. … 1 more file in changeset.
Increase logging level to try to catch more details with flaky test failure

Fix more failing tests

  1. … 1 more file in changeset.
Address compiler warnings in 'signing' subproject

  1. … 1 more file in changeset.
Use plugins DSL in Javadoc code snippets

  1. … 47 more files in changeset.
Restore `@ToBeFixedForInstantExecution` for `SigningTasksWithGpgCmdIntegrationSpec`

Remove `@ToBeFixedForInstantExecution` from `SigningTasksIntegrationSpec`

Disable GMM publication if custom pattern is used

This commit works around issue #12339 by disabling publication

of Gradle Module Metadata if using a non standard Ivy repository

layout.

  1. … 6 more files in changeset.
Remove always-true KOTLIN_SCRIPT test precondition

  1. … 43 more files in changeset.
Replace several usages of direct `FileCollection` implementation instantiation with a factory method. Attempt to use the public API when the usage lives in a plugin.

  1. … 18 more files in changeset.
Remove limitation on snapshot signing

Now that there is no more attempt to tweak the content of the Gradle

Module Metadata file, there is no reason to prevent signing of Maven

snapshots.

Fixes #12070

    • -16
    • +1
    ./main/java/org/gradle/plugins/signing/Sign.java
Fix Gradle Module Metadata referencing stale files

If a file is not published, then it shouldn't appear in GMM.

  1. … 3 more files in changeset.
Mark test `@ToBeFixedForInstantExecution`

Do not publish stale signature files

This commit fixes the publication of stale signature files:

prior to this change it was possible that a signature generated

in a previous build for a different artifact was uploaded even

if no signature was generated during the build, which would

lead to inconsistent publications.

In addition, it makes it an error to publish something which

doesn't have the main artifact created (or, at least up-to-date)

in this build. In other words, if the task which generates the

main artifact is disabled, it's an error to publish.

Other stale artifacts are going to be ignored.

Fixes #5136

  1. … 35 more files in changeset.
Revert "Remove sourceJar task in favor of sourcesJar (plural)"

This reverts commit a965be46

  1. … 8 more files in changeset.
Remove sourceJar task in favor of sourcesJar (plural)

  1. … 10 more files in changeset.
Split the `signing` module

This commit splits the `signing` module into another `security`

project so that we can reuse some code for dependency verification.

It's worth noting that some of the classes had to remain in the `plugins`

package because they were public APIs.

Further effort to split them out may be done later.

  1. … 58 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 866 more files in changeset.
Annotate integ tests failing with instant execution in various projects

after third round of CI feedback

much better, no more OOMEs, no more hung builds, no more console

replacement weirdness

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 37 more files in changeset.
Annotate integ tests failing with instant execution in :signing

Signed-off-by: Paul Merlin <paul@gradle.com>

Rename methods for javadoc and sources jar creation

The new name reflects better what happens exactly when the option is

activated on the java extension.

The publication part is only applicable when a publishing plugin is also

configured.

Issue #11140

  1. … 24 more files in changeset.
Rename methods for javadoc and sources jar creation

The new name reflects better what happens exactly when the option is

activated on the java extension.

The publication part is only applicable when a publishing plugin is also

configured.

Issue #11140

  1. … 23 more files in changeset.
Update signing sample test

Follow up to #11132

Update signing sample test

Follow up to #11132

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.

    • -7
    • +8
    ./main/java/org/gradle/plugins/signing/Sign.java
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
    • +10
    ./main/java/org/gradle/plugins/signing/Sign.java