File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/main/java/dev/dashaun/shell/initializr/plusplus Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2 /apache-maven-3.9.2 -bin.zip
1+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3 /apache-maven-3.9.3 -bin.zip
22wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Original file line number Diff line number Diff line change 11# Enable auto-env through the sdkman_auto_env config
22# Add key=value pairs of SDKs to use below
3- java=22.3.1.r17-grl
3+ java=21.0.1-graalce
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >org.springframework.boot</groupId >
77 <artifactId >spring-boot-starter-parent</artifactId >
8- <version >3.1.1 </version >
8+ <version >3.2.0 </version >
99 <relativePath ></relativePath >
1010 </parent >
1111 <groupId >dev.dashaun.shell.initializr</groupId >
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public String projectVersion(@ShellOption(defaultValue = "0") String version) {
3232 catch (XmlPullParserException | IOException e ) {
3333 return "There was a problem updating the project version." ;
3434 }
35- return String . format ( "Successfully set project version to '%s'" , version );
35+ return "Successfully set project version to '%s'" . formatted ( version );
3636 }
3737
3838 @ ShellMethod ("Update the project description" )
@@ -52,7 +52,7 @@ public String projectDescription(@ShellOption(defaultValue = "") String descript
5252 return "There was a problem updating the project description." ;
5353 }
5454 return "" .equals (description ) ? "Successfully removed the project description."
55- : String . format ( "Successfully set project name to '%s'" , description );
55+ : "Successfully set project name to '%s'" . formatted ( description );
5656 }
5757
5858 @ ShellMethod ("Update the project name" )
@@ -66,7 +66,7 @@ public String projectName(@ShellOption(defaultValue = "${project.groupId}:${proj
6666 catch (XmlPullParserException | IOException e ) {
6767 return "There was a problem updating the project name." ;
6868 }
69- return String . format ( "Successfully set project name to '%s'" , name );
69+ return "Successfully set project name to '%s'" . formatted ( name );
7070 }
7171
7272 @ ShellMethod ("Add AWS Lambda profile for Spring Cloud Functions" )
You can’t perform that action at this time.
0 commit comments