Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use a `NotationParser` in the source dependencies API to convert from module id expressed as a string into a `ModuleIdentifier` used for matching, so that the conversion logic can be shared rather than having multiple inconsistent implementations of this conversion. This change also removes the creation of many temporary strings during dependency resolution when source dependency mappings are defined.

Change `NotationParserBuilder` to allow construction of a `NotationParser` that accepts something other than `Object` as its notation type.

Ensure that 'preferredVersion' always provides a useful value

Recent versions of the build scan plugin depend on `VersionConstraint.preferredVersion`

to return a string representation of the version constraint. This was broken with the

recent introduction of `requiredVersion`, where `preferredVersion` only returned a

value when explicitly set with `prefers(version)`.

This change restores the previous functionality: a `requires` version constraint implies

a `prefers` constraint, and a `strictly` constraint implies a `requires` constraint.

  1. … 4 more files in changeset.
Migrated various Groovy scripts to Kotlin

    • -0
    • +40
    /subprojects/testing-base/testing-base.gradle.kts
    • -0
    • +58
    /subprojects/testing-jvm/testing-jvm.gradle.kts
    • -0
    • +43
    /subprojects/testing-native/testing-native.gradle.kts
Introduce a simplified API/DSL for defining source dependencies that allows simple mappings from module id to git repo to be defined. The intent is to keep the rule API for backwards compatibility and for those cases where more complex mappings are needed.

  1. … 11 more files in changeset.
Close file channel

Use interruptible FileChannel to read

Move some responsibilities for source dependency resolution around so to reduce some duplication.

Fix typo

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

Add kdoc to container scope string invoke overloads

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

Merge branch 'master'

Moved some VCS interfaces out of coreApi and into versionControl project.

Merge pull request #6003 from gradle/lacasseio/lazy/disallow-hooks

Disallow use of hooks by a lazy task configuration action

Reuse invoke overload and relax requirement on container

Let `String.invoke(type: KClass<U>)` be executed on non polymorphic

containers since it doesn't rely on the polymorphic API.

Favour KClass overloads

    • -1
    • +1
    /samples/maven-publish/build.gradle.kts
Fix some concurrency issues in source dependency resolution, so that a dependency on a particular Git repository can be resolved in parallel by multiple threads or by multiple build processes.

Merge branch 'develop' into eskatos/lazy/container-string-invoke

    • -1
    • +1
    /samples/domain-objects/build.gradle.kts
Ignore test that requires new build-scan version

Bump to newer commit that does not use disallowed method

6e8dc02785fc0f6a2f849e707d5381cdcf93499f removes the use of afterEvaluate in

a lazy configuration action

    • -1
    • +1
    /subprojects/performance/templates.gradle
Merge remote-tracking branch 'origin/master' into lacasseio/lazy/disallow-hooks

Remove unnecessary changes to test report directories

Test tasks have unique paths already

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 24 more files in changeset.
Convert `plugin-development` project to lazy tasks

Signed-off-by: Thomas Broyer <t.broyer@ltgt.net>

Fix NamedDomainObjectContainerExtensionsTest

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

Merge pull request #914 from gradle/eskatos/gradle-api-gen/kclass-and-groovy-named-arguments

Generates Kotlin extensions for the Gradle API

Fix container scope string invoke with kclass semantics

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

Reduce number of temporary collections created for `gradleApi()`

Polish `ApiTypeProviderTest`

Polish NamedDomainObjectContainerScope

prefer apply over also

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

Add TODO in the maven plugin sample wrt. lazy configuration & task rules

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

    • -0
    • +1
    /samples/maven-plugin/build.gradle.kts