Skip to content

Commit 1a786fc

Browse files
coursarmhalbritter
authored andcommitted
Change Spring Boot CLI init command docs default build system to gradle
See gh-40603
1 parent e471710 commit 1a786fc

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private void projectGenerationOptions() {
165165
this.packaging = option(Arrays.asList("packaging", "p"), "Project packaging (for example 'jar')")
166166
.withRequiredArg();
167167
this.build = option("build", "Build system to use (for example 'maven' or 'gradle')").withRequiredArg()
168-
.defaultsTo("maven");
168+
.defaultsTo("gradle");
169169
this.format = option("format", "Format of the generated content (for example 'build' for a build file, "
170170
+ "'project' for a project archive)")
171171
.withRequiredArg()

0 commit comments

Comments
 (0)