Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix string substitution in log statements

Use system properties directly from settings.gradle

We do not need the workaround any more now that we are not using an

init script.

+review REVIEW-6461

    • -7
    • +3
    /gradle/remoteHttpCacheSettings.gradle
Remove duplication from `LocalFileDependencyBackedArtifactSet`

Fail artifact resolution when an artifact transform produces an output that is not one of its inputs or a child of its output directory.

Some tweaks to artifact transform error messages.

Reworked how locking is applied around artifact transforms, so that 2 threads don't attempt to run the same transform when the previous output has been deleted.

Fix SW model dependency resolution

A `BuildOperationProcessor` is provided to dependency resolving

classpath, allowing artifacts to be prepared in parallel.

Added `CacheAccess.withFileLock()` to allow an action to run while the current process is holding the lock for a cache, as an alternative and eventual replacement for `useCache()` which also blocks all other threads for the current process and other processes.

Remove some some duplicated words from gradle

    • -1
    • +1
    /design-docs/copy-spec-improvements.md
    • -1
    • +1
    /design-docs/done/dependency-management.md
    • -1
    • +1
    /design-docs/done/dependency-resolution-reporting.md
    • -1
    • +1
    /design-docs/done/testing-improvements.md
    • -1
    • +1
    /design-docs/done/tooling-api-improvements.md
    • -1
    • +1
    /design-docs/managed-component-model.md
  1. … 6 more files in changeset.
Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Ignore int test with parallel mode for now.

Remove unused imports

Fixed broken test to work with when running in daemon mode.

Report correct location for `buildscript` block compilation errors

And for `plugins` block compilation errors.

Resolves #177

Updated CategoryFilter to prevent NPE with Cucumber and JUnit Categories

- NullPointerException was being thrown if JUnit Categories were used in

a project containing Cucumber tests.

- Ensure CategoryFilter does not call createSuiteDescription if the

description test class is null

- Added integration test to reproduce the error

Don't reuse the cached result of an artifact transform if the output no longer exists.

Fixed `InMemoryDecoratedCache.get(key, producer)` to work correctly after the entry has been removed.

Fixed `InMemoryIndexedCache` so that it honors the contract of `PersistentIndexedCache` wrt concurrency.

Mark unit test as `@UsesNativeServices`

Clean up cached artifact transform outputs on failure or crash.

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Keep track of compilation errors to reduce chance of an exception

Most internal compiler errors we've been experiencing were being

caused by the assigned `MessageCollector` fooling the compiler into

assuming there were no errors (`hasErrors() = false`).

Apply concurrency control to the artifact transform output cache, so that no more than one thread in any build process attempts to produce a particular output at any given time. Different outputs can be produced concurrently by a single build process, but currently not by multiple build processes at the same time.

Added `PersistentIndexedCache.get(key, producer)` overload, allowing the production of an entry if it is not present. Handles multiple threads attempting to produce the same entry, including threads in other build processes.

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Improve logging behaviour

- Make compiler messages format closer to Kotlin's

- Format messages only if the will be logged

Display compilation exception stack traces only if `--stacktrace`

Resolves #290

Polish `KotlinCompiler`

Added support for adding directories to `FileStore` instances.

Javadocs.