Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #8268 from gradle/eskatos/fixtures/report-unable-to-delete

Let test files cleanup report all unable to delete paths

Review :kotlinDsl* usages of @LeaksFileHandles

all now have a comment saying why

some were removed favoring isolated daemons

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

Remove ForcefullyDeletedTemporaryFolder favoring TestNameTestDirectoryProvider

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

Add javadoc jar task generation for multi module maven builds

Align jar task generation related test structure

Generate javadocJar task

In order to publish generated javadocs, a javadocJar task needs to

be created if the maven pom contains a maven-javadoc-plugin

configuration.

Issue: #7952

Merge commit 'b3691839518f34d26c1176f41ebb1408123dac95' into eskatos/kotlin-dsl-merge

Merge pull request #8231 from gradle/wolfs/extract-property-specs

Make property specs independent of tasks

Add skeleton for C++ user manual chapter

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
    • -0
    • +186
    /subprojects/docs/src/docs/userguide/cpp_plugins.adoc
Re-enable daemon on CI (#8263)

See https://github.com/gradle/gradle-private/issues/1767

Previously we disabled daemon in some CI builds as a workaround of https://github.com/gradle/gradle-private/issues/1352 . Now that issue has been fixed, so we re-enable disabled daemons.

Also, there seems no reason to enable daemon in performance tests, so we enable them as well.

    • -5
    • +3
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Prefer settings from VCS in TeamCity

This is a followup of https://github.com/gradle/gradle-private/issues/1676, which allows we

make slight change on feature branches.

Revert "TeamCity change in 'Gradle' project: Versioned settings configuration updated"

This reverts commit f8a18100d4564a67fd3e69a8716ff52c996926fc.

    • -12
    • +0
    /.teamcity/Gradle_Experiments/Project.kt
TeamCity change in 'Gradle' project: Versioned settings configuration updated

    • -0
    • +95
    /.teamcity/Gradle/Project.kt
    • -0
    • +35
    /.teamcity/Gradle/settings.kts
    • -0
    • +17
    /.teamcity/Gradle/vcsRoots/Gradle_Branches_GradlePersonalBranches.kt
    • -0
    • +12
    /.teamcity/Gradle_Experiments/Project.kt
    • -0
    • +35
    /.teamcity/Gradle_Experiments/settings.kts
Merge gradle/kotlin-dsl@v1.1.1 into eskatos/kotlin-dsl-merge

commit 'e57395d8378'

# Conflicts:

# build.gradle.kts

# gradle/wrapper/gradle-wrapper.properties

# samples/ant/gradle/wrapper/gradle-wrapper.properties

# samples/build-cache/gradle/wrapper/gradle-wrapper.properties

# samples/build-scan/gradle/wrapper/gradle-wrapper.properties

# samples/buildSrc-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/code-quality/gradle/wrapper/gradle-wrapper.properties

# samples/composite-builds/gradle/wrapper/gradle-wrapper.properties

# samples/copy/gradle/wrapper/gradle-wrapper.properties

# samples/domain-objects/gradle/wrapper/gradle-wrapper.properties

# samples/extra-properties/gradle/wrapper/gradle-wrapper.properties

# samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/gradle-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/groovy-interop/gradle/wrapper/gradle-wrapper.properties

# samples/hello-android/gradle/wrapper/gradle-wrapper.properties

# samples/hello-coroutines/gradle/wrapper/gradle-wrapper.properties

# samples/hello-js/gradle/wrapper/gradle-wrapper.properties

# samples/hello-kapt/gradle/wrapper/gradle-wrapper.properties

# samples/hello-kotlin/gradle/wrapper/gradle-wrapper.properties

# samples/hello-world/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/consumer/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/kotlin-friendly-groovy-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/maven-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/maven-publish/gradle/wrapper/gradle-wrapper.properties

# samples/model-rules/gradle/wrapper/gradle-wrapper.properties

# samples/modularity/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project-config-injection/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/multi-kotlin-project/gradle/wrapper/gradle-wrapper.properties

# samples/multi-project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/precompiled-script-plugin/gradle/wrapper/gradle-wrapper.properties

# samples/precompiled-script-plugin/plugin/gradle/wrapper/gradle-wrapper.properties

# samples/project-properties/gradle/wrapper/gradle-wrapper.properties

# samples/project-with-buildSrc/gradle/wrapper/gradle-wrapper.properties

# samples/provider-properties/gradle/wrapper/gradle-wrapper.properties

# samples/source-control/external/gradle/wrapper/gradle-wrapper.properties

# samples/source-control/sample/gradle/wrapper/gradle-wrapper.properties

# samples/task-dependencies/gradle/wrapper/gradle-wrapper.properties

# samples/testkit/gradle/wrapper/gradle-wrapper.properties

# subprojects/integ-tests/src/test/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

# subprojects/integ-tests/src/test/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

# subprojects/plugins/src/test/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptModelIntegrationTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/integration/ScriptModelIntegrationTest.kt

# subprojects/provider/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

# update-wrapper.sh

Rename method to handle deadlocks

Rename Parameter -> Property

Let's do the whole rename at once instead of piecewise.

  1. … 4 more files in changeset.
Merge pull request #8265 from bjornvester/master

Fix typo in gradle-module-metadata-specification.md

Merge pull request #8266 from gradle/lptr/execution/remove-unnecessary-dependency-on-files

Remove unnecessary dependency on files

Fix unbuildable component Xcode IDE configuration

Let AbstractTestDirectoryProvider report all unable to delete paths on cleanup

Before this change, when test files cleanup fail we reported the test

temporary dir path and suggested using file-leak-detector.

While file-leak-detector can be very handy once you get it to observe

the right process, it's also almost useless in some cases (e.g. flaky

leaking situations).

This commit let the test fixtures report all paths that couldn't be

deleted under the test temporary dir. Most of the time this gives a

good hunch about what process is the culprit, if not the component.

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

Remove unnecessary dependency on files

Annotate protected task properties as `@Internal`

Update Gradle metadata file format

Add test coverage for unbuildable component in Xcode IDE

  1. … 3 more files in changeset.
Use C++ test application during C++ application test

Merge pull request #8211 from gradle/ljacomet/core/ignore-dir-only-changes

Only consider resource files for change processing

Add validation step for multiple variant selection

This commit adds a graph validation step, which checks that if

multiple variants of a single component are selected, they have

compatible attributes.

Currently, compatible means _identical_. If we want to improve

this further, next steps would be to do this during selection

instead of validation, and potentially substitute one selected

variant with the other when one is fully compatible with the other

(in other words, all its common attributes are compatible with

the other variant). This, however, would likely have a performance

impact in selection.

Fix more tests

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

Fix typo in gradle-module-metadata-specification.md

Signed-off-by: Bjørn Vester <bjornvester@gmail.com>

Extract duplicated code