File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
buildSrc/src/test/java/org/springframework/boot/build/groovyscripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,14 +142,14 @@ void mavenRepositoriesWhenCommercialRelease() {
142142 @ Test
143143 void mavenRepositoriesWhenConditionMatches () {
144144 SpringRepositoriesExtension extension = createExtension ("0.0.0-SNAPSHOT" , "oss" );
145- extension .mavenRepositories ( true );
145+ extension .mavenRepositoriesFor ( "1.2.3-SNAPSHOT" );
146146 assertThat (this .repositories ).hasSize (1 );
147147 }
148148
149149 @ Test
150150 void mavenRepositoriesWhenConditionDoesNotMatch () {
151151 SpringRepositoriesExtension extension = createExtension ("0.0.0-SNAPSHOT" , "oss" );
152- extension .mavenRepositories ( false );
152+ extension .mavenRepositoriesFor ( "1.2.3" );
153153 assertThat (this .repositories ).isEmpty ();
154154 }
155155
@@ -252,7 +252,7 @@ interface SpringRepositoriesExtension {
252252
253253 void mavenRepositories ();
254254
255- void mavenRepositories ( boolean condition );
255+ void mavenRepositoriesFor ( Object version );
256256
257257 void mavenRepositoriesExcludingBootGroup ();
258258
You can’t perform that action at this time.
0 commit comments