Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove stale files for scala compilation (#6093)

Whenever Zinc doesn't have the data to remove them.

Register both kotlin-dev and kotlin-eap repositories

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

Further simplification of iteration order retaining set

- Remove extra "added" set

- Explicit handling of providers that are realized outside of the element

source

- Handle adding the same provider multiple times

Rework some tests

Add test coverage for `removeAll`

Change existing element provider to always query the container

This allow to invalidate the provider when the element is removed.

Remove provider from index when removing unrealized elements

Detect when a creating provider is removed before and after realized

Add test coverage around `register` and `remove`

Disable daemon conditionally (#6106)

This is a follow-up of https://github.com/gradle/gradle-private/issues/1352. The asciidoctor plugin

we're using has a serious issue that its native library sometimes cause the daemon JVM crash.

As a workaround, we identify the following builds need to run `docs:docs` task because they depend on

`binZip` task:

- wrapper

- toolingApi

- distributions

- performance test coordinators because they're running in the default pool

This commit disables daemon by removing `--daemon` from build parameter list. (TeamCity would automatically

add `-Dorg.gradle.daemon=false` at the end of the parameter list.)

    • -3
    • +3
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Pass directory to postVisitDirectory

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