Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove unhelpful comment

Extract Spec implementation into constant

Recompile source file when dependency of generated file changes

Otherwise the incremental compiler would delete the generated file,

but not recompile the source file, making the generated file disappear

completely and breaking the code.

Always recompile types generated by aggregating processors

Since they can have 0 originating elements, we need to clean

them up on every compilation so we don't end up with stale

classes.

Fail when the plugins {} block is non top-level

Build scripts body is cleared out of the effective plugins block if any

Build script template plugins {} function throws

This commit does the plugins block extraction twice, to be fixed.

Avoid method name that is illegal with Java 9

Declare optional `DefaultFileOperations` arguments as `@Nullable`

`DefaultFileOperations` is used by the `kotlin-dsl` and Kotlin won't

allow non nullable parameters to be given null arguments.

Rebaseline performance tests for large java project

This is done to lock improvements from #4396 which was the fix for

#4365.

Replace `CapabilitiesExtension` with outgoing variants DSL

This commit replaces the need for a `CapabilitiesExtension` by adding the declaration

of variant capabilities on outgoing configuration variants. Instead of:

```

capabilities {

api 'org.test:foo:1.0'

}

```

one should now write:

```

configurations.api.outgoing {

capability 'org.test:foo:1.0'

}

```

  1. … 10 more files in changeset.
Fix PrecompiledScriptPluginTest compilation

Apply linting rules to buildSrc Kotlin code

    • -0
    • +3
    /buildSrc/src/main/kotlin/criterion/Duration.kt
    • -0
    • +8
    /buildSrc/src/main/kotlin/criterion/benchmark.kt
    • -0
    • +2
    /buildSrc/src/main/kotlin/integration/Samples.kt
Dogfood ktlint-convention plugin 0.1.0 on buildSrc too

Allow build operation listeners to log (#4693)

This change moves build operation listening out of the standard listener infrastructure, to remove serialisation guarantees. As logging output now causes build operation notifications, whenever a build operation listener logged something it would fail due to the listener manager blocking overlapping signals.

By moving build operation listening out, overlapping and concurrent signals are now allowed.

This places more responsibility on listener implementations (e.g. thread safety), but there are few and they are all internal.

Additionally, listeners will now never receive progress notifications before start notifications and after finish notifications for that operation.

  1. … 4 more files in changeset.
Dogfood ktlint-convention plugin 0.1.0

Bump :plugins-experiments version

:plugins-experiments do not publish ruleset jar artifact

Make sure tests prove something by not systematically apply fix

This commit splits the test cases for fixing capability conflicts in two variants:

- one which only applies the component metadata rules to create a conflict, but without fixing

- one that additionally applies a fix, as the user would have to write

Remove unused code

Move capability related classes to the `capabilities` package

Bump cache layout format

This is to avoid an issue with CI, format 54 was used in a previous spike.

Run previous failed test first (#4557)

Run previous failed test first

This fixes https://github.com/gradle/gradle/issues/4450

Before the test starts, we collect all failed test classes from the result of last test, and

send them to test worker process first - this is transparent to test infrastructure because

we didn't make any guarantee about test class execution order previously.

    • -0
    • +4
    /subprojects/docs/src/docs/release/notes.md
Cleanup some old TODOs

Merge `getMetaData()` with `getMetadata()`

It's hard to believe we had both of these methods on `ComponentState`.

Add test engine filter to documentation (#4598)

Add test engine filter to documentation

Wire operatingSystem into Swift binary types

Add coverage and fix nested enums constants with body representation

Polish BlankLineRules

by formatting

Refine buildSrc KotlinDslPluginBundle

by restoring original behavior

Add missing import

Merge pull request #4682 from gradle/lptr/core/cleanup-copy-specs

Clean up copy specs

- Add `@Override` annotations where necessary

- Add `@Nullable` and `@NonNullApi` annotations where necessary

- Some small optimizations

- Fix IntelliJ warnings

- Remove some dead code