Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
User Provider API in InitBuild task

  1. … 2 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

  1. … 407 more files in changeset.
Fix tests

  1. … 372 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.
Emit links to documentation when generating a project with init

  1. … 18 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.
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.
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.
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 `--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.
Rename cli option from --build-script-dsl to --dsl

  1. … 26 more files in changeset.
Assume all build script dsls are supported by ProjectInitDescriptors

  1. … 9 more files in changeset.
Coverage for groovy/kotlin build generation by init build plugin

  1. … 34 more files in changeset.
Init plugin can generate builds using the kotlin-dsl

except when converting from a Maven build

  1. … 16 more files in changeset.
Introduce init --build-scripts-dsl option

defaults to 'groovy', single supported dsl

  1. … 11 more files in changeset.
Fix expectation (order matters)

build-init does not leak files

- This change also alters the `build-init.gradle` file so that future

tests in this subproject which leak files will cause tests to start

failing.

  1. … 4 more files in changeset.
Rename 'with' option to 'test-framework' in build init plugin

  1. … 17 more files in changeset.
Rename 'with' option to 'test-framework' in build init plugin

  1. … 16 more files in changeset.
Refactor build init plugin after applying a pull request

  1. … 17 more files in changeset.
Minor tweaks

  1. … 1 more file in changeset.
Fixed broken unit test.

REVIEW-3373: Add back BuildTypeID specific ProjectInitDescriptors

- ProjectDescriptorRegistryFactory should not now about InitDescriptor details. Moved the details into the BuildType related ProjectInitDescriptor

- moved lot of production code related to ProjectInitDescriptors from groovy to java

- didn't merge the ProjectInitDescriptor and TemplateOperation but ProjectInitDescriptor now extends TemplateOperation. feels more natural to me than merging them into one interface

- added back languageProjectInitDescriptor for dealing with basic language related ProjectInitDescriptors

  1. … 20 more files in changeset.