File tree Expand file tree Collapse file tree 4 files changed +10
-31
lines changed
spring-boot-buildpack-platform
spring-boot-gradle-plugin Expand file tree Collapse file tree 4 files changed +10
-31
lines changed Original file line number Diff line number Diff line change 33
33
]
34
34
}
35
35
}
36
+ library(" Commons Compress" , " 1.21" ) {
37
+ group(" org.apache.commons" ) {
38
+ modules = [
39
+ " commons-compress"
40
+ ]
41
+ }
42
+ }
36
43
library(" Commons FileUpload" , " 1.5" ) {
37
44
group(" commons-fileupload" ) {
38
45
modules = [
Original file line number Diff line number Diff line change @@ -19,17 +19,6 @@ configurations.all {
19
19
if (dependency. requested. group. equals(" org.springframework" )) {
20
20
dependency. useVersion(" $springFramework60xVersion " )
21
21
}
22
- // We manage the version of commons-compress here rather than
23
- // in spring-boot-parent to minimize conflicts with Testcontainers
24
- if (dependency. requested. group. equals(" org.apache.commons" )
25
- && dependency. requested. name. equals(" commons-compress" )) {
26
- dependency. useVersion(" $commonsCompressVersion " )
27
- }
28
- // Downgrade Testcontainers for compatibility with the managed
29
- // version of Commons Compress.
30
- if (dependency. requested. group. equals(" org.testcontainers" )) {
31
- dependency. useVersion(" 1.19.3" )
32
- }
33
22
}
34
23
}
35
24
}
@@ -38,7 +27,7 @@ dependencies {
38
27
api(" com.fasterxml.jackson.core:jackson-databind" )
39
28
api(" com.fasterxml.jackson.module:jackson-module-parameter-names" )
40
29
api(" net.java.dev.jna:jna-platform" )
41
- api(" org.apache.commons:commons-compress: $c ommonsCompressVersion " )
30
+ api(" org.apache.commons:commons-compress" )
42
31
api(" org.apache.httpcomponents.client5:httpclient5" )
43
32
api(" org.springframework:spring-core" )
44
33
api(" org.tomlj:tomlj:1.0.0" )
Original file line number Diff line number Diff line change @@ -59,17 +59,6 @@ configurations {
59
59
if (dependency. requested. group. equals(" org.springframework" )) {
60
60
dependency. useVersion(" $springFramework60xVersion " )
61
61
}
62
- // We manage the version of commons-compress here rather than
63
- // in spring-boot-parent to minimize conflicts with Testcontainers
64
- if (dependency. requested. group. equals(" org.apache.commons" )
65
- && dependency. requested. name. equals(" commons-compress" )) {
66
- dependency. useVersion(" $commonsCompressVersion " )
67
- }
68
- // Downgrade Testcontainers for compatibility with the managed
69
- // version of Commons Compress.
70
- if (dependency. requested. group. equals(" org.testcontainers" )) {
71
- dependency. useVersion(" 1.19.3" )
72
- }
73
62
}
74
63
}
75
64
}
@@ -93,7 +82,7 @@ dependencies {
93
82
implementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform" ))
94
83
implementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-loader-tools" ))
95
84
implementation(" io.spring.gradle:dependency-management-plugin" )
96
- implementation(" org.apache.commons:commons-compress: $c ommonsCompressVersion " )
85
+ implementation(" org.apache.commons:commons-compress" )
97
86
implementation(" org.springframework:spring-core" )
98
87
99
88
optional(" org.graalvm.buildtools:native-gradle-plugin" )
Original file line number Diff line number Diff line change @@ -28,19 +28,13 @@ configurations {
28
28
if (dependency. requested. group. equals(" org.springframework" )) {
29
29
dependency. useVersion(" $springFramework60xVersion " )
30
30
}
31
- // We manage the version of commons-compress here rather than
32
- // in spring-boot-parent to minimize conflicts with Testcontainers
33
- if (dependency. requested. group. equals(" org.apache.commons" )
34
- && dependency. requested. name. equals(" commons-compress" )) {
35
- dependency. useVersion(" $commonsCompressVersion " )
36
- }
37
31
}
38
32
}
39
33
}
40
34
}
41
35
42
36
dependencies {
43
- api(" org.apache.commons:commons-compress: $c ommonsCompressVersion " )
37
+ api(" org.apache.commons:commons-compress" )
44
38
api(" org.springframework:spring-core" )
45
39
46
40
compileOnly(" ch.qos.logback:logback-classic" )
You can’t perform that action at this time.
0 commit comments