File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
gradle-plugin/src/main/java/org/springframework/boot/experimental/gradle Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1818
1919import java .io .File ;
2020import java .nio .file .Files ;
21+ import java .util .ArrayList ;
2122import java .util .Arrays ;
2223import java .util .HashMap ;
2324import java .util .List ;
@@ -250,9 +251,9 @@ public void execute(Task task) {
250251 exec .setWorkingDir (
251252 copy .getOutputs ().getFiles ().getSingleFile ());
252253 exec .setCommandLine (Jvm .current ().getJavaExecutable ());
253- List <String > args = Arrays . asList ( "-Dthin.root=." ,
254- "-Dthin.dryrun " , "-jar " ,
255- thinJar .getArchiveName ());
254+ List <String > args = new ArrayList <>(
255+ Arrays . asList ( "-Dthin.root=. " , "-Dthin.dryrun " ,
256+ "-jar" , thinJar .getArchiveName () ));
256257 String thinRepo = getThinRepo (project );
257258 if (thinRepo != null ) {
258259 args .add (1 , "-Dthin.repo=" + thinRepo );
You can’t perform that action at this time.
0 commit comments