Gradle

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #8187 from gradle/bamboo/release/kotlin-dsl-1.1.1

Upgrade Kotlin DSL to 1.1.1

Add some unimportant change

Make test fail

Add a flaky test

Spelling (#8147)

Misspellings make it harder to search for things; they make it harder for people to understand code and descriptions; and sometimes they result in bugs.

This PR fixes quite a few typos.

Rename element-list to package-list

This fixes https://github.com/gradle/gradle/issues/8183 as a workaround of https://bugs.openjdk.java.net/browse/JDK-8211194

Since JDK 11, javadoc's package-list file is superseded by element-list file, but a lot of external tools still need it.

This PR makes a workaround by manually copying element-list file to package-list file.

Make AsciidoctorTask cacheable again (#8148)

This fixes https://github.com/gradle/gradle-private/issues/1741

This PR does:

- Re-enables `CacheableAsciidoctorTask`

- Updates everything to the latest version.

- Fixes several broken cacheability issues.

- Tag the build `CACHE_MISS` upon unexpected cache-miss.

    • -4
    • +4
    /buildSrc/subprojects/build/build.gradle.kts
Property handle UNC paths for the wrapper path.

File::getPath() does not have the correct behavior specifically for network paths, but has the same behavior for all other types

Signed-off-by: Thad House <thadhouse1@gmail.com>

Toward 1.2.0

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Update expected extensions jar hash after version update

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Prepare 1.1.1 release

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Update expected extensions jar hash after snapshot update

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 24 more files in changeset.
Bump plugins version

Update affected test expectations after distro update

Upgrade Kotlin DSL to 1.1.1

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 24 more files in changeset.
Pin snapshot distro to 5.1.1

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Support depending on multiple variants of the same component

This commit changes the resolution engine so that it is possible

to resolve multiple variants of the same component when using

variant-aware dependency management.

Before, in order to have 2 dependencies on the same component

but using different variants, one had to use explicit configuration

dependencies. Now, with this change, it is possible to have

two dependencies on the same component, but with different attributes.

Those components would resolve to different variants.

Special treatment is applied when attributes are declared on constraints:

in this case, we _merge_ the constraint attributes, and make sure that

the edge is computed using the merged attributes. Should they be

incompatible, the build would fail as before.

  1. … 15 more files in changeset.
Fix link to docs in release notes

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Split methods required in Worker

  1. … 4 more files in changeset.
Move most of org.gradle.internal.reflect to modelCore

The JavaMethod and DirectInstantiator classes are used by the service

and classloading infrastructure in `baseServices`, so I would leave

them there for now.

  1. … 49 more files in changeset.
Fix compilation error after breaking change in caching api

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

Merge pull request #1304 from gradle/bamboo/issues/1303

Let cache key derived from project schema include tasks and elements

Add hash code separator before configurations to avoid clashes

Add `hamcrest-library` to test deps in an attempt to fix the JDK 11 failure

Merge pull request #1307 from mkobit/mk/map-property-convenience-method

Add convenience method for `MapProperty` that was introduced in 5.1

Invert dependencies of buildCache and coreApi

While it would be great to have a split between domain object, the

tanglement of the current API makes it hard to do so.

For now, let's move the `buildCache` API to `coreApi` and invert the

dependency.

    • -1
    • +0
    /subprojects/core-api/core-api.gradle.kts
  1. … 14 more files in changeset.
Don't use propertySpecFactory for input files

  1. … 37 more files in changeset.
Merge branch 'master' into eskatos/kotlin-dsl-merge