Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Do not use an isolated user home dir for build init tests, to avoid downloading all of the external tools on each test invocation.

Merge branch 'cc/dm/issue-6403' into release

Polishing

Change the `init` task to improve the interactive experience when converting a Maven build.

- Do not suggest `pom` as a build type when there is no `pom.xml` present, as the conversion makes no sense in this case.

- Do not prompt for a DSL or project name when converting a Maven build, as these are not supported or ignored by the Maven build conversion.

- When the `--project` or `--package` options are used with the `init` task, fail when the selected build type does not support these options, e.g. when converting to Maven build.

  1. … 8 more files in changeset.
Simplify test case for #6403

Rename 'DependencyMetadata.isPending()` -> `isConstraint()`

  1. … 8 more files in changeset.
Fix debug output scraping when a prompt is present.

Fix running kotlin init tests on Java 7.

Fix customLogger Kotlin DSL sample and enable test

Merge remote-tracking branch 'origin/release'

* origin/release:

Bump to later version of 4.10 for build-scan compatibility

Bump to later version of 4.10 for build-scan compatibility

Merge pull request #6407 from gradle/lacasseio/lazy/task-replacement

Improve task replacement with registered task

    • -1
    • +18
    /subprojects/docs/src/docs/release/notes.md
Test permutations of forced platforms

In order to make sure ordering doesn't matter when resolving "forced"

platforms, test permutations of dependencies. This introduces a bit

of overhead in testing, that should be removed at some point.

Ignore Kotlin sample for now

The sample fails with

```

failure.printStackTrace()

^ Symbol is declared in module 'java.base' which does not export package 'kotlin'

```

So it seems like some module path problem.

Bump to later version of 4.10 for build-scan compatibility

Fix Kotlin custom logger sample

Update Android Soak test to AGP 3.1.4

AGP < 3.1 is not supported any more by Gradle 5.0.

Update Android Soak test to AGP 3.1.4

AGP < 3.1 is not supported any more by Gradle 5.0.

Merge pull request #6387 from gradle/gh/lazy-tasks/lazy-default-artifact

Make DefaultArtifactPublicationSet use a lazy provider

Bump to later version of 4.10 for build-scan compatibility

    • -1
    • +1
    /subprojects/performance/templates.gradle
Fix codenarc checks

Some work-arounds to improve the behaviour of the interactive prompts used by the `init` task. Ideally, the console infrastructure would better handle the prompts but this requires some deeper changes. The work-arounds allow us to try out the interactive behaviour and can be fixed later.

Tweak prompts and messages for the `init` task.

Do not include a dependency on both kotlin stdlib and kotlin jdk 8 stdlib in generated kotlin projects.

Accept breaking change on `InitBuild` task type.

Fix integration tests

Update release notes with more task replacement deprecations

    • -3
    • +15
    /subprojects/docs/src/docs/release/notes.md
Make replacing an incompatible type a deprecation only

Update release notes to mention new features and deprecation.

    • -4
    • +21
    /subprojects/docs/src/docs/release/notes.md
Merge remote-tracking branch 'origin/release'

* origin/release:

Use the 'proper' version for the 1.16-rc-1 plugin

Upgrade build-scan plugin for gradle build to 1.16-rc-1

Remove usages of `StartParameter.interactive` and deprecate the getter and setter.