Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Ensure context classloader is reset for no isolation workers

Fix resolved versions of substituted dependencies

This commit fixes an inconsistency when publishing resolved

versions of a component. If that component happens to be

substituted, which would be strange for a first level dependency

but nevertheless possible, then we wouldn't find the target

module in the resolution result, and the outcome would be that

POM/IVY/Gradle Module metadata files would all have an empty

version for a substituted dependency.

With the change, we will now also look for dependencies in

the resolution result, and if one matches the original dependency

coordinates, then we use its resolved component as the result.

This allows us to _substitute_ the result with complete coordinates

in the metadata files.

Fixes nebula-plugins/gradle-nebula-integration#62

Merge pull request #10002 from gradle/eskatos/kotlin-dsl/no-duplicate-jar-entries

Let kotlin-dsl jars not include duplicated entries

Merge pull request #9981 from gradle/eskatos/kotlin-dsl/kotlin-public-project-schema

Let Kotlin DSL use first Kotlin public type for accessors to container elements

Merge pull request #9975 from gradle/tomdcc/configuration-atts-on-build-op

Make configuration request attributes available on dependency resolution build operation

Merge commit '2fcc813f337926582a69152a2d5338cb4ccc783f' into release

Merge remote-tracking branch 'origin/sg/merges/pr-9954'

* origin/sg/merges/pr-9954:

Recognize contributor

Use empty collections singletones.

Rebaseline failing performance tests

Refine DefaultProjectSchemaProvider

by reworking toFirstKotlinPublicOrSelf() and adding an explaining comment

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

Recognize contributor

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Merge branch 'nskvortsov/caching-method-invoker' of https://github.com/nskvortsov/gradle

* 'nskvortsov/caching-method-invoker' of https://github.com/nskvortsov/gradle:

Use empty collections singletones.

Link to related issue

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

Update subprojects/docs/src/docs/release/notes.md

Co-Authored-By: Stefan Wolf <wolf@gradle.com>

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Let kotlin-dsl jars not include duplicated entries

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

Rebaseline get IDE model on largeJavaMultiProject for IDEA

Looking at the history, there's a regression since long time ago

so it might be a little to track. Rebaseline it.

Split method for readability and fix indent

Fix deduplication of published POM dependencies

This commit reworks how dependencies are de-duplicated

during POM file generation. De-duplication was introduced

as part of 4d97d0b (publish resolved versions).

However, only using group+name is incorrect, we should use

more fields like the classifier or target configuration.

Technically speaking the solution implemented in this

commit is still wrong, because we should _semantically_

deduplicate dependencies (some may be mergeable, some not).

It's a non goal of this commit to fix the fact that Gradle

Module Metadata does _not_ represent classified dependencies.

This means that in Gradle metadata 2 dependencies on 2

different classifiers will generate 2 identical entries

_without_ classifier information.

Implement more methods on desugaring container

Adjust example for WorkerParameters to follow documentation advice

Merge remote-tracking branch 'origin/gh/worker-api/parameter-api'

* origin/gh/worker-api/parameter-api:

Fix test issues on windows

Make checkstyle happy

Add a test for poorly written worker execution

Add some comments to adapter classes to explain their purpose

Use a ConfigurableFileCollection for classpath in worker specs

Add incorrect parameters test for legacy api

Use a convenience method for loading class

Fix tooling api test for older versions

Remove unused import

Add legacy API test for worker executor

Update worker api test coverage to use typed parameter api

Move compiler parameters into compiler implementation classes

Use property generation in worker parameters test

Change PCH generation to use typed parameter api

Change compiler daemons to use typed parameter api

Deprecate forkMode on WorkerConfigurations

Add null parameter test

Remove obsolete method for registering managed factories

Allow managed factories to be recreatable in worker processes

Introduce typed parameter API for workers

Merge remote-tracking branch 'origin/sg/merges/mega-swift-docs'

* origin/sg/merges/mega-swift-docs:

Fix Swift samples

Specialize getBinaries from XCTest components

Add testing Swift project chapter

Update settings.gradle.kts

Update settings.gradle

Add building Swift project chapter

Add XCTest plugin reference chapter

Fix typos in Swift and C++ chapters

Use native-platform to detect whether stdin is attached to a console, rather than `System.console()`, as this can detect more cases, such as when Gradle is running from mintty on Windows (e.g. the cygwin terminal).

This allows the `init` task to prompt the user interactively when run from mintty on Windows.

Also consolidate some of the "is x connected to a console?" logic into a single place.

Publish 5.5.1-20190717230817+0000

Change calculation of task dependencies for a file collection containing a `Callable` backed provider whose value contains a `Buildable` element.

Previously, these were intentionally ignored, to avoid calculating the value of the provider during task graph calculation. Instead, this case should become a warning or error in the future (rather than just silently ignoring them).

Bump to latest nightly for inception build

Specialize getBinaries from XCTest components

Fix Swift samples

  1. … 7 more files in changeset.
Polish symlinks section in notes.md

    • -5
    • +2
    /subprojects/docs/src/docs/release/notes.md
Update subprojects/docs/src/docs/release/notes.md

Co-Authored-By: Stefan Wolf <wolf@gradle.com>

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Polish more_about_tasks.adoc