Remove the embedded launch script configuration
ProprietarySpring Boot 4.0 removed support for embedding a launch script that makes jars and wars directly executable. Removes the Gradle build script statements that use launchScript(), which no longer compile, and marks a use in the unbraced body of an if, else or loop for manual migration. Also removes the executable, embeddedLaunchScript and embeddedLaunchScriptProperties parameters of the spring-boot-maven-plugin, which Maven ignores. Start the application with java -jar instead.
io. moderne. java. spring. boot4. RemoveEmbeddedLaunchScriptmod run . --recipe= io. moderne. java. spring. boot4. RemoveEmbeddedLaunchScriptInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.