Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e85b0c70
Commit
e85b0c70
authored
Jun 24, 2021
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.5.x'
parents
5fc0e1ca
fd83158f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
MyBuildTool.java
...ldsystems/examplerepackageimplementation/MyBuildTool.java
+1
-1
Library.java
...n/java/org/springframework/boot/loader/tools/Library.java
+1
-4
No files found.
spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/buildtoolplugins/otherbuildsystems/examplerepackageimplementation/MyBuildTool.java
View file @
e85b0c70
...
...
@@ -37,7 +37,7 @@ public class MyBuildTool {
private
void
getLibraries
(
LibraryCallback
callback
)
throws
IOException
{
// Build system specific implementation, callback for each dependency
for
(
File
nestedJar
:
getCompileScopeJars
())
{
callback
.
library
(
new
Library
(
n
ull
,
nestedJar
,
LibraryScope
.
COMPILE
,
null
,
false
,
false
,
true
));
callback
.
library
(
new
Library
(
n
estedJar
,
LibraryScope
.
COMPILE
));
}
// ...
}
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Library.java
View file @
e85b0c70
...
...
@@ -49,12 +49,9 @@ public class Library {
* Create a new {@link Library}.
* @param file the source file
* @param scope the scope of the library
* @deprecated since 2.4.8 for removal in 2.6.0 in favor of
* {@link #Library(String, File, LibraryScope, LibraryCoordinates, boolean, boolean, boolean)}
*/
@Deprecated
public
Library
(
File
file
,
LibraryScope
scope
)
{
this
(
file
,
scope
,
fals
e
);
this
(
null
,
file
,
scope
,
null
,
false
,
false
,
tru
e
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment