Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
De-incubate build init for Gradle 6.0

  1. … 1 more file in changeset.
Emit links to documentation when generating a project with init

  1. … 18 more files in changeset.
Emit links to documentation when generating a project with init

  1. … 18 more files in changeset.
Emit links to documentation when generating a project with init

  1. … 18 more files in changeset.
Use 'java' as the default implementation language for builds generated by the build init plugin.

Use 'java' as the default implementation language for builds generated by the build init plugin.

Split the interactive question used by the build init plugin to select a build init template into 2 separate, simpler, questions. The first asks the user to select what kind of component they want to produce, the second asks the user to select which source language they want to use to implement it.

  1. … 44 more files in changeset.
Split the interactive question used by the build init plugin to select a build init template into 2 separate, simpler, questions. The first asks the user to select what kind of component they want to produce, the second asks the user to select which source language they want to use to implement it.

  1. … 44 more files in changeset.
Split the interactive question used by the build init plugin to select a build init template into 2 separate, simpler, questions. The first asks the user to select what kind of component they want to produce, the second asks the user to select which source language they want to use to implement it.

  1. … 44 more files in changeset.
Derive namespace from project name rather than package

  1. … 13 more files in changeset.
Add build-init support for C++ applications

  1. … 23 more files in changeset.
Move `TreeFormatter` out of core and decouple from `TreeVisitor` by introducing an interface to represent something that can receive diagnostic information.

  1. … 69 more files in changeset.
remove TaskConfiguration by inlining all methods

    • -120
    • +0
    ./internal/TaskConfiguration.java
  1. … 3 more files in changeset.
Remove placeholder tasks

  1. … 11 more files in changeset.
Fix `@since` Javadoc tags.

Change `init` task so that it uses a default source package name that is derived from the project name, rather than an empty package name.

  1. … 12 more files in changeset.
Refactor the build init infrastructure to distinguish between initializers that generate a Gradle build from some existing build and those that generate a new build an supporting files from scratch.

  1. … 13 more files in changeset.
Improve the `init` task when in interactive mode when a Maven build is present in the current directory, by first asking the user if they would like to generate a Gradle build for the Maven build. If the user answers 'yes', proceed without asking any further questions. If the user answers 'no', only then ask the user to select which type of build they would like to create.

  1. … 19 more files in changeset.
Change the `init` task to default to Kotlin DSL when generating Kotlin builds.

  1. … 15 more files in changeset.
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. … 22 more files in changeset.
Tweak prompts and messages for the `init` task.

  1. … 4 more files in changeset.
Tweak the prompts used by the `init` task.

  1. … 1 more file in changeset.
Change the `init` task to prompt the user for any build init settings that were not specified on the command-line.

  1. … 12 more files in changeset.
Add a `--package` command line option to the `init` task to allow the package used for generated source files to be specified.

  1. … 52 more files in changeset.
Some tweaks to javadocs and command line option description in the build init plugin.

  1. … 1 more file in changeset.
Add a `--project-name` command line option to the `init` task to allow the name of the generated project to be specified.

  1. … 16 more files in changeset.
Improve the error messages reported by the build init plugin for unknown options or unsupported combinations of options.

  1. … 20 more files in changeset.
:init Maven conversion fails with reasonable error when --dsl kotlin (#5331)

instead of silently ignoring the --dsl option,

and generating Groovy scripts.

Converting a Maven build to Kotlin DSL scripts it is not supported yet.

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

  1. … 2 more files in changeset.
Bridge tasks into software mode lazily

Only initialize the software model bridging if the user

either uses the `model {}` block or explicitly applies

a rule-based plugin.

Placeholder tasks are now implemented in the task container

directly instead of using the software model. They are also

deprecated as they add a lot of complexity for no gain beyond

what `createLater {}` already offers.

  1. … 29 more files in changeset.
Let init task use -bin distribution when --dsl kotlin

  1. … 4 more files in changeset.