Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #6105 from gradle/eskatos/perf/require-settings

Let all performance tests require a settings script

Remove verbose logging of downloads and JAR generation

Artifact downloads and Gradle JAR generation were emitting

logging headers, flooding the console on builds with cold

caches. Headers should only be used by operations that group

some other progress, like tasks and project configuration.

Introduce an in-memory cache to avoid duplicate Git operations during a build invocation when using source dependencies. In particular, list the versions of the repo once per build invocation and clone/update a given revision once per build.

Add some Javadocs.

Removed if statement whose condition is always false.

Added a test case that exposes a bunch of duplicate and unnecessary Git operations that may be performed when using source dependencies.

Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

  1. … 85 more files in changeset.
Javadoc improvements

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 24 more files in changeset.
Differentiate between adding a realized provider and a new value

This is to avoid having to make the decision during the add() method in

order to correctly retain the insertion order without a performance

penalty.

Test more than one version of Kotlin Gradle plugin

Clean up interactions between element source and collections

Ignore tests for the Kotlin version used in the samples

Upgrade Kotlin to 1.2.60-eap-61

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