File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
gradle-plugin/src/main/java/org/springframework/boot/experimental/gradle Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1616
1717package org .springframework .boot .experimental .gradle ;
1818
19+ import java .io .File ;
20+ import java .io .IOException ;
21+ import java .nio .file .Files ;
22+ import java .util .ArrayList ;
23+ import java .util .Arrays ;
24+ import java .util .HashMap ;
25+ import java .util .List ;
26+ import java .util .Map ;
27+ import java .util .concurrent .Callable ;
28+
1929import org .gradle .api .Action ;
2030import org .gradle .api .Plugin ;
2131import org .gradle .api .Project ;
3444import org .springframework .boot .loader .tools .MainClassFinder ;
3545import org .springframework .util .StringUtils ;
3646
37- import java .io .File ;
38- import java .io .IOException ;
39- import java .nio .file .Files ;
40- import java .util .*;
41- import java .util .concurrent .Callable ;
42-
4347/**
4448 * Gradle {@link Plugin} for Spring Boot's thin launcher.
4549 * <p>
@@ -199,7 +203,7 @@ public void execute(Task task) {
199203 thin .setOutput (new File (resourcesDir , "META-INF/maven/"
200204 + project .getGroup () + "/" + project .getName ()));
201205 }
202- });
206+ }). mustRunAfter ( "resolveMainClassName" , "test" ) ;
203207 }
204208
205209 private Task createPropertiesTask (final Project project ) {
You can’t perform that action at this time.
0 commit comments