Skip to content

Commit fd83158

Browse files
committed
Merge branch '2.4.x' into 2.5.x
2 parents af37f59 + 63ed921 commit fd83158

File tree

2 files changed

+2
-5
lines changed
  • spring-boot-project
    • spring-boot-docs/src/main/java/org/springframework/boot/docs/buildtoolplugins/otherbuildsystems/examplerepackageimplementation
    • spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools

2 files changed

+2
-5
lines changed

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/buildtoolplugins/otherbuildsystems/examplerepackageimplementation/MyBuildTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void build() throws IOException {
3737
private void getLibraries(LibraryCallback callback) throws IOException {
3838
// Build system specific implementation, callback for each dependency
3939
for (File nestedJar : getCompileScopeJars()) {
40-
callback.library(new Library(null, nestedJar, LibraryScope.COMPILE, null, false, false, true));
40+
callback.library(new Library(nestedJar, LibraryScope.COMPILE));
4141
}
4242
// ...
4343
}

spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Library.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,9 @@ public class Library {
4949
* Create a new {@link Library}.
5050
* @param file the source file
5151
* @param scope the scope of the library
52-
* @deprecated since 2.4.8 for removal in 2.6.0 in favor of
53-
* {@link #Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean)}
5452
*/
55-
@Deprecated
5653
public Library(File file, LibraryScope scope) {
57-
this(file, scope, false);
54+
this(null, file, scope, null, false, false, true);
5855
}
5956

6057
/**

0 commit comments

Comments
 (0)