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 18
18
19
19
import java .io .File ;
20
20
import java .nio .file .Files ;
21
+ import java .util .ArrayList ;
21
22
import java .util .Arrays ;
22
23
import java .util .HashMap ;
23
24
import java .util .List ;
@@ -250,9 +251,9 @@ public void execute(Task task) {
250
251
exec .setWorkingDir (
251
252
copy .getOutputs ().getFiles ().getSingleFile ());
252
253
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 () ));
256
257
String thinRepo = getThinRepo (project );
257
258
if (thinRepo != null ) {
258
259
args .add (1 , "-Dthin.repo=" + thinRepo );
You can’t perform that action at this time.
0 commit comments