Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reproduce build failure when including Kotlin support

Validate task property names

Ensure that names assigned to properties are either valid Java identifiers, or they are dot-separated lists of valid Java identifiers.

+review REVIEW-6038

Naive fix for kotlin shading

Fix ScalaCrossCompilationIntegrationTest

+review REVIEW-6046

Restored lines that will be removed later.

Extend existing `TaskInputs`/`TaskOutputs` APIs instead of adding new ones

Previously new APIs were introduced with names like `includeFile()` and `includeDir()` that were slightly improved versions of the existing `file()` and `dir()` methods. The additional functionality was that they returned an object that could be used to configure the freshly registered property; whereas the old methods used to return a reference to `TaskInputs` or `TaskOutputs` to allow chaining the calls. The old methods were previously deprecated in favor of the new ones.

This commit removes the newly introduced `include*()` methods, and instead extends the existing ones. The tricky part is to keep compatible with the original method signatures while returning an object capable of configuring the property. To accomplish this, the property spec objects returned also implement `TaskInputs` and `TaskOutputs` to keep method chaining working. If chaining is used, a deprecation message is printed to warn the user to use `TaskInputs` or `TaskOutputs` directly instead.

+review REVIEW-6038

Use old API methods for task inputs and outputs

Will revert deprecation in next commit.

+review REVIEW-6038

  1. … 24 more files in changeset.
Add Vladislav Bauer to release notes for contribution #650.

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Merge pull request #650 from vbauer/dep-class-remapper

ShadeJar: Use ClassRemapper instead of deprecated RemappingClassAdapter

Move Scala and Groovy cross compilation tests to the correct package

+review REVIEW-6046

Do not test cross compilation samples on Windows

+review REVIEW-6046

Do not set bootClasspath for Scala cross compilation

+review REVIEW-6046

Better names for property file specs

+review REVIEW-6038

  1. … 5 more files in changeset.
Add cross compilation tests for Groovy and Scala

+review REVIEW-6046

Fix review items

+review REVIEW-6047

Add Eclipse project output location tapi improvement to the release notes

+review REVIEW-6048

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Tooling API exposes Eclipse project output folder

+review REVIEW-6048

Revert "Remove static field remapper"

This reverts commit 66bca8925ee3e752a24f0db55807553f753c5045.

Make project's PluginRegistry hierarchical

This prevents subproject classloaders from being eagerly created

when using this very common pattern:

```

plugins {

id 'com.foo.bar' version '1.0' apply false

}

subprojects {

apply plugin: 'com.foo.bar'

}

```

Or the old way:

```

buildscript {

repositories {...}

dependencies {

classpath 'com.foo:bar:1.0'

}

}

subprojects {

apply plugin: 'com.foo.bar'

}

```

This went undetected because we never had an integration test for applying non-core plugins to subprojects.

Fix UserGuideSamplesIntegrationTest.scalaCrossCompilation to use the right bootClasspath

on Linux the rt.jar should be located in $JAVA_HOME/jre/bin

+review REVIEW-6046

Still leaking files

Never return a non-existent input file

+review REVIEW-5932

Workaround for non-existing webXml file

+review REVIEW-5932

Add access rules tapi improvement to release notes

+review REVIEW-6047

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Add direct dependency on `core`

Most projects do this anyway, and this way we can run task validation on "every project that depends on `:core`".

+review REVIEW-5932

Fix annotations on `Groovydoc.pathToOverview`

+review REVIEW-5932

Tooling API exposes access rules for Eclipse classpath entries

+review REVIEW-6047

Keep attribute and access rule ordering in Eclipse classpath entries

+review REVIEW-6047

Add documentation for Groovy on Java 6

+review REVIEW-6046

    • -0
    • +3
    /subprojects/docs/src/samples/java/crossCompilation/readme.xml
Close ClassLoader to avoid file leak