Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add missing kdoc

Fix issue with grouped output not being marked as grouped

Prove the<T>() and configure<T>() allow generic queries

the<T>() and configure<T>() allow generic queries

Change int tests to use relevant fixture methods to express their expectations about the build log output.

  1. … 8 more files in changeset.
Use a consistent strategy for when to apply vertical whitespace to the log output and header of build operations in the console output, regardless of whether a rich, verbose or plain console is being used.

Now, vertical whitespace is used before and after a build operation that has log output (excluding the header). No vertical whitespace is applied to build operations that have no log output, except to satisfy the previous constraint.

Introduce a constant `StyledTextOutputEvent.Span` to use for line endings, rather than create a new instance for each line.

Introduce several methods on `ExecutionResult` and `ExecutionFailure` to allow a test to express various expectations about the logging output of the build, rather than scraping the `output` and `errorOutput` properties in the test.

Change several tests to use these fixture methods, plus fix several other tests for changes to the logging output.

  1. … 7 more files in changeset.
Add displayName and classDisplayName to TestDescriptor (#4425)

Add displayName and classDisplayName to TestDescriptor

This fixes https://github.com/gradle/gradle/issues/4424 and https://github.com/gradle/gradle/issues/4423

JUnit 5 introduces @DisplayName and dynamic tests, which allows users to

customize test case and test class' name. This should be taken into

account. This PR introduces `displayName` and `classDisplayName` which are

used for display. When rendering HTML reports, these two fields will be used.

  1. … 19 more files in changeset.
Removed unused import.

Fix integration test fixtures to recognize new task format

Fix issue with task header being output multiple times for long running tasks

Merge pull request #4751 from gradle/wolfs/build-cache/better-testkit-sample

Use own cache directory for testkit sample

Expose precompiled scripts as Gradle plugins

The Gradle plugin id is derived from the script file name and its

package declaration if any.

The implementation is currently limited to scripts under

`src/main/kotlin`. Future commits will lift this restriction.

See #669

Move some resolution logic out of SelectorState into the graph builder

Provide ResolvedVersionConstraint when resolving component id

The 'resolved' version constraint is critical to resolving the component id

for a given selector. In order to honour all constraints in the resolution

process, this `ResolvedVersionConstraint` will be composed of more than

just the constraints for a single selector.

With this change, the `ResolvedVersionConstraint` is constructed

prior to resolving the id, rather than being constructed as part of that

process.

Add task grouping tests for plain console

  1. … 21 more files in changeset.
Guarantee that logs are flushed before reporting build status

Improve deprecation message for processors on compile classpath

A lot of users were asking "What processors caused this problem?",

indicating that the unintentionally leaked processor is a common

case. The warning is now clearer about the cause and what exactly

will happen in Gradle 5.0 so as to not scare those users.

Fix CCE when using GString compiler args

Also take into account comiler argument providers

when searching for -processorpath and -processor

arguments.

Provide optional metadata when requesting ComponentState

This results in less coupling than providing the metadata in `ComponentState.selectedBy()`

Rename id accessors for consistency

Use `ComponentIdentifier getId()`

Use `ModuleVersionIdentifier getModuleVersionId()`

  1. … 53 more files in changeset.
Document how to clean build cache between tests

Javadoc for `ComponentIdResolveResult`

Polish: metaData -> metadata

Update build scan plugin to use latest rc release

Fix tests for exception reporting

Merge pull request #4705 from gradle/eriwen/core/embolden-help-url

Embolden help.gradle.org URL in build failure suggestions

Use own cache directory for testkit sample

The test would fail on the second run, since it would use the Gradle

user home test directory.

Generate compilable accessors in face of type erasure