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
4937547b
Commit
4937547b
authored
Feb 05, 2021
by
dreis2211
Committed by
Stephane Nicoll
Feb 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build deprecation warnings about duplicate jar entries
See gh-25116
parent
d12bb6f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
build.gradle
spring-boot-project/spring-boot-cli/build.gradle
+4
-1
build.gradle
...t/spring-boot-tools/spring-boot-loader-tools/build.gradle
+6
-4
No files found.
spring-boot-project/spring-boot-cli/build.gradle
View file @
4937547b
...
...
@@ -107,7 +107,10 @@ task fullJar(type: Jar) {
into
"BOOT-INF/classes"
}
into
(
""
)
{
from
zipTree
(
configurations
.
loader
.
singleFile
)
from
(
zipTree
(
configurations
.
loader
.
singleFile
))
{
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/NOTICE.txt"
}
}
manifest
{
attributes
(
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle
View file @
4937547b
...
...
@@ -41,8 +41,9 @@ sourceSets {
task
reproducibleLoaderJar
(
type:
Jar
)
{
dependsOn
configurations
.
loader
from
{
zipTree
(
configurations
.
loader
.
incoming
.
files
.
filter
{
it
.
name
.
startsWith
"spring-boot-loader"
}.
singleFile
)
from
(
zipTree
(
configurations
.
loader
.
incoming
.
files
.
filter
{
it
.
name
.
startsWith
"spring-boot-loader"
}.
singleFile
))
{
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/NOTICE.txt"
}
reproducibleFileOrder
=
true
preserveFileTimestamps
=
false
...
...
@@ -52,8 +53,9 @@ task reproducibleLoaderJar(type: Jar) {
task
reproducibleJarModeLayerToolsJar
(
type:
Jar
)
{
dependsOn
configurations
.
jarmode
from
{
zipTree
(
configurations
.
jarmode
.
incoming
.
files
.
filter
{
it
.
name
.
startsWith
"spring-boot-jarmode-layertools"
}.
singleFile
)
from
(
zipTree
(
configurations
.
jarmode
.
incoming
.
files
.
filter
{
it
.
name
.
startsWith
"spring-boot-jarmode-layertools"
}.
singleFile
))
{
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/NOTICE.txt"
}
reproducibleFileOrder
=
true
preserveFileTimestamps
=
false
...
...
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