Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix Gradleception build

Gradle 5.0 changes the behavior of BOM import, which is now required to be

imported explicitly using the `platform` keyword. However, this is not yet

available on the Gradle version we use to build, so this commit introduces

a temporary fix so that we can use the same syntax on all tested versions

of Gradle.

Publish 4.10.1-20180907132213+0000

Refine `DistributionTest.configureGradleTestEnvironment`

Run promotion builds on Java 8

This needs to be reverted as soon as 4.10.1 is out.

Remove @LeaksFileHandles test annotations where applicable

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

Merge pull request #6564 from gradle/wolfs/build-cache/http-keep-alive

Use TCP keep-alive for http connections

Use cleanDirectory for {Java,Groovy}doc

That leaves the root directory in place and fails when the directory

does not exist or is a file.

include Kotlin DSL sample for chapter publishing_overview (conditional-publishing sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

Compile accessors to a classes dir instead of a jar

To circumvent long living classloaders holding locks to JARs.

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

Merge branch 'master'

    • -9
    • +92
    /subprojects/docs/src/docs/release/notes.md
Revert change to delegate domain object set

include Kotlin DSL sample for chapter publishing_overview (publish-artifact sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

Merge pull request #6667 from gradle/wolfs/file-system-mirror/fix-path-on-element

Return correct relative path when snapshotting

include Kotlin DSL sample for chapter publishing_overview (javaLibrary sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

Add more test coverage for DirectorySnapshotter

Return correct relative path when snapshotting

Issue #6656

include Kotlin DSL sample for chapter publishing_ivy (java-multi-project sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

include Kotlin DSL sample for chapter publishing_ivy (descriptor-customization sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

Replace Java 9 deprecated methods usage in tests

clazz.newInstance() -> clazz.getDeclaredConstructor().newInstance()

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

include Kotlin DSL sample for chapter publishing_ivy (customize-identity sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

Refine the dependencies.constraints {} DSL

by generating accessors for known configurations

by adding `classpath` accessor for buildscript.dependencies.constraints

by adding a configuration scope with string invoke operators

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

Document plugin deprecations in user guide

Resolves #6652.

Handle logging of null value correctly

This fixes a bug where calling logger with any level with null as argument would result in stopping the daemon. Fixed by calling readNullableString.

Fixes #6661

Signed-off-by: Cliffred van Velzen <cliffred@cliffred.nl>

include Kotlin DSL sample for chapter publishing_ivy (quickstart sample)

Signed-off-by: jnizet <jb@ninja-squad.com>

Merge pull request #6658 from gradle/wolfs/samples/integ-tests-use-samples

Add samples as input to integration tests only

remove cast that is not needed anymore in replacementRule sample

Signed-off-by: jnizet <jb@ninja-squad.com>

Organize imports

Fix broken plugin resolution when improved pom support is used

Merge branch 'release'

Fix skipped performance scenarios

`AbstractGradleBuildPerformanceTestRunner` uses `org.junit.Assume` to

throw an `AssumptionViolatedException` for scenarios that should be

skipped. Spock 1.1 changed how `AssumptionViolatedExceptions` are

handled when thrown from code in `then` blocks. While in Spock 1.0 the

test was reported as skipped, it is reported as failed in Spock >= 1.1.

Thus, affected performance tests now call `run()` in a `when` block

and check for a non-null results object in a `then` block.