Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Accept introduction of `@IncubatingApi`

Prevent use of `@InternalApi`s from Groovy scripts

This commit adds validation during compilation of Groovy

scripts, to prevent the use of APIs marked as internal.

Introduce `@InternalApi`

If a package is annotated with `@InternalApi`, this package and

all the subpackages it contains are not exposed in the Gradle API

jar.

Similarly, if a class within a non-annotated package is itself

annotated with `@InternalApi`, then it's not visible in the

Gradle API jar.

This approach lets us introduce new internal APIs which are

truly invisible to users, without relying on Java modules.

For now, because we only care about the Gradle API jar, it

means that the internal APIs are not visible in `buildSrc`,

but they are effectively usable in build scripts.

See #13501

Merge pull request #13516 from gradle/eskatos/cc/docs

Another round of configuration cache documentation

Merge pull request #13527 from gradle/jjohannes/gradle-build/cleanup

User better APIs in build logic

Merge pull request #13534 from gradle/bamboo/cc/java/iv

Review more tests for compatibility with the configuration cache

Remove `@ToBeFixedForInstantExecution` from `JavaPluginIntegrationTest`

Remove `@ToBeFixedForInstantExecution` from `ResolvingWithPluginManagementSpec`

Remove `@ToBeFixedForInstantExecution` from `ResolvingSnapshotFromPluginRepositorySpec`

Remove `@ToBeFixedForInstantExecution` from `ScriptPluginClassLoadingIntegrationTest`

Remove `@ToBeFixedForInstantExecution` from `LambdaInputsIntegrationTest`

Merge pull request #13222 from gradle/wolfs/vfs/dont-watch-caches

Merge pull request #13518 from gradle/bamboo/cc/java/ii

Review core plugins for compatibility with the configuration cache

Revert "Add @LeaksFileHandles to EclipseIntegrationTest"

The problem should have been fixed by #13512.

This reverts commit 31bb7a080266b391fe848b19649869ca905e8125.

Merge pull request #13512 from gradle/wolfs/detect-master-settings-in-current-dir

Merge branch 'master' into eskatos/cc/docs

Address more review feedback

Add some guidance on reporting problems to third party plugins

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

Add TODO

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

Use configurations for manifest classpath

instead of reaching into other projects.

    • -4
    • +22
    /subprojects/launcher/launcher.gradle.kts
Refine [[ide_support]]

by changing the recommended way to try out configuration cache with IDEA

to suggest editing Gradle run template

instead of editing IDEA’s own JVM args

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

s/third party plugins/community plugins/g

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

s/build inputs/build configuration inputs/g

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

Update wrapper to latest nightly

To profit from https://github.com/gradle/gradle/pull/13505

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Improve declaration of artefacts in build logic

- Avoid breaking providers at configuration time

- Avoid using map inputs

Set the expectations wrt IDE import/sync

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

Refine [[use_project_during_execution]]

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

Refine [[disallowed_types]]

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

Some language fixes

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

Ignore ConsoleCompositeBuildGroupedTaskFT on Windows with watchFs

We see "Couldn't cancel watch point" in the log

which makes the test fail.

See #13366