Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Quick fix for fixing binary breakage test

#2399

Don't render test worker info in console

    • -4
    • +4
    /subprojects/docs/src/docs/release/notes.md
Make `ScalaCompile` and `ScalaDoc` cacheable (#2399)

This adds test coverage with respect to caching and incremental builds for `ScalaCompile` and `ScalaDoc` and makes both tasks cacheable.

Issue: #1956

Based on PR: #1958

    • -0
    • +11
    /subprojects/docs/src/docs/release/notes.md
  1. … 9 more files in changeset.
Bump version number {0.10.3 => 0.11.0-SNAPSHOT}

Merge pull request #419 from gradle/develop

0.10.3

Upgrade gradle-kotlin-dsl {0.10.2 => 0.10.3}

https://github.com/gradle/kotlin-dsl/releases/tag/v0.10.3

Make CodeNarc happy

Add missing `@Incubating`

Fix cross-version test

Add test case for `10-internal`

Don't include module info into shaded jars

This commit fixes the generated Gradle API (and TestKit) jars, so that they don't include

potential `module-info.class` files from bundled dependencies. This was the case since the

introduction of ASM 6, which comes with a module info file.

This is not a general solution, as, theorically, we should care about module info files.

But, the fact is that if we bundle them as is, they just don't match what we are building:

the API jar would be an "ASM" module, instead of a "Gradle API" one.

Bump metadata version

Since we changed how a POM is interpreted, we need to make sure

that Gradle will re-download POMs that it had wrongly interpreted

before. See #2282 for the change to POM parsing.

Fix/ignore failing tests

Polish pull request #2282

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Fix cross-version integration test

A deprecation warning is actually thrown in Gradle 1.12 when consuming Maven publication with packaging.

Merge pull request #2448 from gradle/lp/enfore-exact-deprecation-warning-count

Enforce exact deprecation warning count in tests

Fix retry cleanup for ConcurrentToolingApiIntegrationSpec

Support running Gradle on JDK 10

This commit adds support for `JavaVersion.1_10` (yes, this is awkward naming, blame versioning scheme change).

Note that there are 2 different aspects of Java 10 detection:

1. given a string representation of a version number, return the appropriate `JavaVersion` enum value

2. given the current runtime, return the appropriate `JavaVersion` enum value

This commit fixes 1, but didn't change anything in the way 2 works. In particular, 2 still uses the `java.version`

property, which is then parsed and we follow the process of 1. However, since Java 9, a new `Runtime#getVersion`

method exists, that we should use instead of relying on parsing the version number returned by `java.version`.

The reason we don't do this yet is that Gradle needs to run on older JDKs, so we cannot statically link to this

method, which involves either the use of reflection or method handles to get a hand on the result of the invocation.

Since the invocation returns a complex object (not just a `String`), we're deferring this work (PRs welcome!).

Relax matching of work-in-progress items

If the items (e.g. '> IDLE') is formatted (e.g. [1B> IDLE) it is now

stripped as well. Without this, the String "> IDLE" was kept in

the output and could end up in one of the output groups.

Prepare 0.10.3 release

Bump version number {0.10.2 => 0.11.0-SNAPSHOT}

Merge pull request #2458 from gradle/rbo/release/kotlin-dsl-0.10.2

Upgrade gradle-kotlin-dsl {0.10.1 => 0.10.2}

Add note about @Inject to ObjectFactory.newInstance javadoc

Merge branch 'everyone/public-instantiator' #2393

    • -0
    • +6
    /subprojects/docs/src/docs/release/notes.md
Rename class to align with test class naming convention

Polish CodeNarc compilation classpath

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Add compilationClasspath property to CodeNarc task (#2325)

Allows to configure classpath used by CodeNarc enhanced rules when compiling analyzed classes.

Upgrade gradle-kotlin-dsl {0.10.1 => 0.10.2}

https://github.com/gradle/kotlin-dsl/releases/tag/v0.10.2

Merge pull request #418 from gradle/develop

0.10.2

Prepare 0.10.2 release