Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve version range selection

This commit fixes a couple of bugs in range selection. It refactors the code, making it clearer what the different states

of a module can be. In particular, the previous version included both `Conflict` and `Evicted`, but in practice there was

no difference in using one or the other!

Now the selection uses four different states (`Selected`, `Selectable`, `Evicted` and `Orphan`) which allows us to

discriminate between cases a node was evicted in conflict resolution, or when it was simplify preferred over another

possible choice.

Initial changes to dependency resolution to use the Gradle module metadata file when present. The file is downloaded and cached when present, but not used yet.

Added a temporary internal flag on `MavenRepository` to enable this behaviour, which is disabled by default. The C++ plugins switch this on.

Changed the Maven repository test fixtures to support publishing and resolving the Gradle module metadata.

private/internal vals for extensions jar cache id

See #424

Remove design-docs folder

This has turned into a graveyard for ideas. It only serves

to confuse people at this point. We have found it more productive

to either

- use GitHub Epics and issues for smaller design questions

- use Google Docs for larger topics (e.g. native publishing)

These documents quickly go out of date once a feature is implemented.

They are not a replacement for good user and code documentation.

Many of the documents are about features that we never ended up

implementing. Having those documents still around might lock us

into a certain way of thinking about a problem. Instead we should

have a fresh look at it when we actually want to start working on it.

    • -278
    • +0
    /design-docs/application-plugin-improvements.md
    • -103
    • +0
    /design-docs/backwards-compatibility.md
    • -109
    • +0
    /design-docs/binary-integration.md
    • -269
    • +0
    /design-docs/build-comparison.md
    • -226
    • +0
    /design-docs/build-initialisation.md
    • -329
    • +0
    /design-docs/building-and-packaging-applications-and-libraries.md
    • -1193
    • +0
    /design-docs/component-model-for-jvm-components.md
    • -225
    • +0
    /design-docs/configure-on-demand.md
    • -247
    • +0
    /design-docs/conflict-resolution-spec.md
    • -1228
    • +0
    /design-docs/continuous-delivery-for-c-plus-plus.md
    • -200
    • +0
    /design-docs/copy-spec-improvements.md
  1. … 186 more files in changeset.
Refine contribution guidelines

- put "Get in touch" front and center

- mention CLA earlier to avoid surprises

- make "design doc" less scary

Fix integration test

Now that 4.2 is out we can use this version in the test. No need to use

a snapshot any more.

Fix integration test

Now that 4.2 is out we can use this version in the test. No need to use

a snapshot any more.

Add org.gradle.plugin.dsl to the Gradle API

Fix smoke test that relied on changed PluginRequest display name

Move the kotlin-dsl to the new PluginDependencySpec API

By using org.gradle.plugin.dsl.PluginDependenciesSpec

instead of org.gradle.plugin.use.PluginDependenciesSpec

See #424

Update Wrapper to latest release

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Add deprecation to release notes

    • -0
    • +5
    /subprojects/docs/src/docs/release/notes.md
Add integration tests for deprecation warning

Merge pull request #2959 from gradle/ld/lock-free-monotonic-clock

Optimize the monotonic clock implementation to avoid locking

Account for nullability of PluginRequest.id in tests

See #424

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 19 more files in changeset.
Rebaseline archive performance tests

There was a small regression between branching 4.2

and now. We are still investigating. Until we find

the culprit, accept the regression to get the tests

back up and running.

Fix version ranges for cross-version tapi tests

Remove usage of Task.execute from tests

  1. … 15 more files in changeset.
Deprecate Task.execute

Validate task properties declared via the runtime API (#2954)

Previously only task properties defined via the property annotations were validated. Now we validate properties registered via the runtime API as well.

The new validations don't yet fail the build, but show a deprecation warning instead. They'll be made full build failures in Gradle 5.0.

As part of this PR, chaining for all `TaskInputs` and `TaskOutputs` methods is now either forbidden or deprecated.

Re-add previously removed tests for property name checking

Merge branch 'master' into pm/plugins-dsl/script-plugins

Reference the new PluginDependencySpec type hierarchy in docs

    • -4
    • +4
    /subprojects/docs/src/docs/dsl/dsl.xml
    • -0
    • +44
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.dsl.BinaryPluginDependencySpec.xml
    • -0
    • +44
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.dsl.PluginDependenciesSpec.xml
    • -0
    • +38
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.dsl.PluginDependencySpec.xml
    • -0
    • +38
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.dsl.ScriptPluginDependencySpec.xml
    • -44
    • +0
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.use.PluginDependenciesSpec.xml
    • -44
    • +0
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.use.PluginDependencySpec.xml
    • -38
    • +0
    /subprojects/docs/src/docs/dsl/org.gradle.plugin.use.ScriptPluginDependencySpec.xml
Introduce org.plugin.dsl.*PluginDependencySpec type hierarchy

First step to rework the PluginDependencySpec type hierarchy.

New types are properly named. Old types are kept.

This step keeps the old type hierarchy working in order to keep the

Kotlin DSL working until it is updated to use the new type hierarchy.

Javadocs

Merge pull request #2943 from gradle/dc/ide/eclipse-rt-cp

Add source set information to dependencies in Eclipse model

Adjust private method's name to its function

Make sure that we can call `accept(String)`