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
38a4f135
Commit
38a4f135
authored
Mar 30, 2021
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.3.x' into 2.4.x
Closes gh-25836
parents
7a846ad4
ca9a6192
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
14 deletions
+19
-14
build.gradle
spring-boot-project/spring-boot-cli/build.gradle
+2
-2
build.gradle
...t/spring-boot-tools/spring-boot-loader-tools/build.gradle
+12
-8
build.gradle
spring-boot-project/spring-boot/build.gradle
+5
-4
No files found.
spring-boot-project/spring-boot-cli/build.gradle
View file @
38a4f135
...
@@ -111,8 +111,8 @@ task fullJar(type: Jar) {
...
@@ -111,8 +111,8 @@ task fullJar(type: Jar) {
from
(
sourceSets
.
main
.
output
)
{
from
(
sourceSets
.
main
.
output
)
{
into
"BOOT-INF/classes"
into
"BOOT-INF/classes"
}
}
into
(
""
)
{
from
{
from
(
zipTree
(
configurations
.
loader
.
singleFile
))
{
zipTree
(
configurations
.
loader
.
singleFile
).
matching
{
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/NOTICE.txt"
exclude
"META-INF/NOTICE.txt"
}
}
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle
View file @
38a4f135
...
@@ -11,9 +11,11 @@ def generatedResources = "${buildDir}/generated-resources/main"
...
@@ -11,9 +11,11 @@ def generatedResources = "${buildDir}/generated-resources/main"
configurations
{
configurations
{
loader
{
loader
{
extendsFrom
dependencyManagement
extendsFrom
dependencyManagement
transitive
=
false
}
}
jarmode
{
jarmode
{
extendsFrom
dependencyManagement
extendsFrom
dependencyManagement
transitive
=
false
}
}
}
}
...
@@ -40,10 +42,11 @@ sourceSets {
...
@@ -40,10 +42,11 @@ sourceSets {
}
}
task
reproducibleLoaderJar
(
type:
Jar
)
{
task
reproducibleLoaderJar
(
type:
Jar
)
{
dependsOn
configurations
.
loader
from
{
from
(
zipTree
(
configurations
.
loader
.
incoming
.
files
.
filter
{
it
.
name
.
startsWith
"spring-boot-loader"
}.
singleFile
))
{
zipTree
(
configurations
.
loader
.
incoming
.
files
.
singleFile
).
matching
{
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/NOTICE.txt"
exclude
"META-INF/NOTICE.txt"
}
}
}
reproducibleFileOrder
=
true
reproducibleFileOrder
=
true
preserveFileTimestamps
=
false
preserveFileTimestamps
=
false
...
@@ -52,10 +55,11 @@ task reproducibleLoaderJar(type: Jar) {
...
@@ -52,10 +55,11 @@ task reproducibleLoaderJar(type: Jar) {
}
}
task
reproducibleJarModeLayerToolsJar
(
type:
Jar
)
{
task
reproducibleJarModeLayerToolsJar
(
type:
Jar
)
{
dependsOn
configurations
.
jarmode
from
{
from
(
zipTree
(
configurations
.
jarmode
.
incoming
.
files
.
filter
{
it
.
name
.
startsWith
"spring-boot-jarmode-layertools"
}.
singleFile
))
{
zipTree
(
configurations
.
jarmode
.
incoming
.
files
.
singleFile
).
matching
{
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/LICENSE.txt"
exclude
"META-INF/NOTICE.txt"
exclude
"META-INF/NOTICE.txt"
}
}
}
reproducibleFileOrder
=
true
reproducibleFileOrder
=
true
preserveFileTimestamps
=
false
preserveFileTimestamps
=
false
...
...
spring-boot-project/spring-boot/build.gradle
View file @
38a4f135
...
@@ -115,11 +115,12 @@ dependencies {
...
@@ -115,11 +115,12 @@ dependencies {
}
}
task
extractTomcatConfigProperties
(
type:
Sync
)
{
task
extractTomcatConfigProperties
(
type:
Sync
)
{
dependsOn
configurations
.
tomcatDistribution
destinationDir
=
file
(
tomcatConfigProperties
)
destinationDir
=
file
(
tomcatConfigProperties
)
from
(
zipTree
(
configurations
.
tomcatDistribution
.
incoming
.
files
.
singleFile
).
matching
{
from
{
include
'**/conf/catalina.properties'
zipTree
(
configurations
.
tomcatDistribution
.
incoming
.
files
.
singleFile
).
matching
{
}.
singleFile
)
include
'**/conf/catalina.properties'
}.
singleFile
}
}
}
sourceSets
{
sourceSets
{
...
...
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