Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #6101 from gradle/dd/dependency-management/strict-constraints

Retain full declared version constraints in dependency model

Previously, declared version constraints were mapped to a single prefer and set of reject constraints. This mapping was problematic and lossy:

Dependency reports didn't match the user input for strictly version constraints

Generating a reject constraint for a declared strict constraint was not always possible

A dependency like org:foo:1.0 was considered identical to org:foo { prefer '1.0' }, making it impossible to provide different behaviours for these.

This PR ensures that the full set of declared version constraints is retained in the internal dependency model, and is correctly published and consumed in Gradle .module metadata files.

Adopt Lato/Inconsolata font stack for docs

    • -58
    • +122
    /subprojects/docs/src/docs/css/manual.css
    • -2
    • +2
    /subprojects/docs/src/main/resources/head.html
Remove unneeded xsl version declaration from docs webpages

Move after-footer JS to footer.html so it is included in generated docs

Fix unit tests for change to VersionConstraint

Get samples tests running again

Commit dc49f73c2d37a3d36feb72244f980ea5fca34ddc excluded sample

config and output from the distributions, but also the integ test

distribution, which caused UserGuideSamplesIntegrationTest to

find 0 samples to test.

This change ensures that the samples are included for integ testing

but not in the real -all distribution.

Also fixes 3 samples tests that had broken in the meantime.

Bump cache layout version for changes to `VersionConstraint`

Fix link to installation doc

Simplify add checks

Compile fixture plugin with kotlin-1.1 and jvm 8

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

    • -2
    • +0
    /subprojects/provider/provider.gradle.kts
Fix accessors compilation to target JVM 8

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

Merge pull request #983 from gradle/eskatos/compilation/target-8

Target JVM 8

Simplify iteration order element source to consume less memory

Bump :plugins version

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

kotlin-dsl plugin takes control of jvmTarget

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

Fix log messages for deprecated commandline flags

Move GradleKotlinDslIntegrationTest to :integ-tests

as it relies on kotlin-dsl plugin

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

    • -1
    • +0
    /subprojects/provider/provider.gradle.kts
`kotlin-dsl` plugin sets target to JVM 8

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

Build targeting JVM 8

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

Handle `Provider` when retaining without realizing elements

Clear domain collections without realizing elements

Understand `Provider` to remove from domain collections

Add test coverage for removing elements through iterator for all domain collections

Add test coverage for retaining elements to all domain collections

Add test coverage for clearing domain collections

Add test coverage for remove method on domain collections

Allow iterating over pending element provider without flushing them

Support removal of listeners

Merge pull request #6095 from gradle/eskatos/perf/rebaseline-first-use

Rebaseline first use perf test

Merge pull request #6046 from gradle/oehme/performance/stricter-heap

Restrict memory usage of Java performance tests