Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix stacktrace of DefaultMultiCauseException when nested with 1 cause

For example, stacktrace of

TaskExecutionException

Caused by: *MultiCauseException

Cause 1

Cause 2

only contained the first cause.

This commit fixes that.

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

  1. … 1 more file in changeset.
Some minor tweaks to service creation error messages, to make the location of the problem more clear.

  1. … 1 more file in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./org/gradle/internal/IoActionsTest.groovy
    • -1
    • +1
    ./org/gradle/internal/jvm/JvmTest.groovy
    • -1
    • +1
    ./org/gradle/util/GFileUtilsTest.groovy
  1. … 401 more files in changeset.
Add JavaVersion constants up to and including latest LTS Java 17

Aim to support JDK14 with 6.3 and add Javadoc warnings stating about future versions as not officially supported.

    • -1
    • +10
    ./org/gradle/api/JavaVersionSpec.groovy
  1. … 1 more file in changeset.
Add Java 14 constant to JavaVersion

    • -1
    • +5
    ./org/gradle/api/JavaVersionSpec.groovy
  1. … 1 more file in changeset.
Remove ability to link to DSL reference for type

  1. … 5 more files in changeset.
Remove javadoc as a documentation option

  1. … 9 more files in changeset.
Add documentation link for input artifact of transform as File deprecation

  1. … 12 more files in changeset.
Add documentation links for property deprecations

  1. … 7 more files in changeset.
Move FilePathUtil and DefaultFileHierarchySet to `:files`

    • -155
    • +0
    ./org/gradle/api/file/RelativePathTest.java
  1. … 14 more files in changeset.
Introduce some local variables.

    • -4
    • +6
    ./org/gradle/internal/jvm/JvmTest.groovy
Fix bug of DefaultFileHierarchySet on Windows (#11542)

Previously `DefaultFileHierarchySet` doesn't handle windows root directory `C:\`/`D:\` correctly, which results in test failures on windows agents with more than one disk.

This PR fixes this corner case.

  1. … 1 more file in changeset.
Expose the `java` command for a Java installation, plus whether it has a JDK available or not.

    • -36
    • +51
    ./org/gradle/internal/jvm/JvmTest.groovy
  1. … 11 more files in changeset.
Ignore flaky test on windows

Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 25 more files in changeset.
Add sha-256 and sha-512 checksums to `maven-publish`

This commit adds the SHA-256 and SHA-512 checksums in:

- Gradle Module Metadata

- uploads to Maven repositories using the `maven-publish` plugin

The upload of those additional files is failsafe, just in case some

repositories don't support those checksum files.

  1. … 33 more files in changeset.
Fix failing tests from insecure HTTP deprecation changes

  1. … 15 more files in changeset.
Merge branch 'master' into feature/JLL/depricate_http_download_dependencies

* master: (724 commits)

Highlight Gradle Module Metadata support as feature of the release

Add note about configurations deprecations

Increase DaemonErrorFeedbackCrossVersionSpec timeout

Recognize contributor

recognize contributor

Publish 5.6-20190819230034+0000

Remove no longer necessary instant execution codecs for `EnumSet` and `EnumMap`

Improve instant execution support for Java serialization

Polish `BeanPropertyReader.kt`

Polish `BeanCodecTest`

Polish `Codec.kt`

Introduce `SerializableWriteObjectCodec`

Polish `ClosureCodec`

Prepare `BindingsBackedCodec` to accept multiple encodings for the same binding

Simplify `BindingsBackedCodec` usage

Polish `BindingsBackedCodec`

Polish `LoadDirectoryTest`

Remove unused `SerializationFixture` class

Use latest Scan plugin 2.4.1-rc-1

Move Play plugins retirement to 7.0 for now

...

    • -50
    • +12
    ./org/gradle/util/GUtilTest.groovy
  1. … 21 more files in changeset.
Remove VERSION_14 for now

    • -3
    • +1
    ./org/gradle/api/JavaVersionSpec.groovy
  1. … 1 more file in changeset.
Adjust multi-line strings to work with both Groovy and JDK13 stripIndent methods

  1. … 13 more files in changeset.
Add VERSION_13 and VERSION_14 to JavaVersion

    • -1
    • +21
    ./org/gradle/api/JavaVersionSpec.groovy
  1. … 1 more file in changeset.
Remove deprecated GUtil.savePropertiesNoDateComment

    • -50
    • +12
    ./org/gradle/util/GUtilTest.groovy
  1. … 1 more file in changeset.
More review feedback

Signed-off-by: Mark Vieira <portugee@gmail.com>

  1. … 2 more files in changeset.
Tidy up Try

- map() and flatMap() now both throw exceptions that happen during the execution of the given function

- tryMap() is introduced to turn any exception thrown during the given function's invocation into a failed Try

- orElseMapFailure() is renamed to getOrMapFailure()

- getSuccessfulOrElse() is replaced with tryMap().orElseMapFailure()

Plus a few bits of polish.

Added Javadoc.

    • -6
    • +19
    ./org/gradle/internal/TryTest.groovy
  1. … 7 more files in changeset.
Add unit test coverage

Signed-off-by: Mark Vieira <portugee@gmail.com>

  1. … 2 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 89 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 89 more files in changeset.
Remove ClassLoaderHasher

There is no need to separate this from HashingClassLoaderFactory.

  1. … 6 more files in changeset.
Fix unit tests

  1. … 2 more files in changeset.
Fix DefaultServiceRegistry using '$' to indicate inner classes in errors

  1. … 1 more file in changeset.