Commit Graph

1348 Commits

Author SHA1 Message Date
Phillip Webb
17df773913 Reduce number of test dependencies
Reduce the number of direct test dependencies and instead rely on
transitive test support dependencies.
2025-06-13 20:06:16 -07:00
Andy Wilkinson
75003b9d1e Merge branch 'main' into 4.0.x 2025-06-12 17:34:17 +01:00
Andy Wilkinson
330eeda9d1 Fix classpath of bootBuildImage integration tests 2025-06-12 17:32:57 +01:00
Andy Wilkinson
7a4c437f64 Upgrade to Commons Compress 1.27.1
Closes gh-45926
2025-06-12 14:13:40 +01:00
Andy Wilkinson
c6748144fb Upgrade to Commons Compress 1.27.1
Closes gh-45898
2025-06-12 14:05:11 +01:00
Andy Wilkinson
12af6976b7 Merge branch 'main' into 4.0.x 2025-06-12 10:07:52 +01:00
Andy Wilkinson
5141620615 Merge branch '3.4.x'
Closes gh-45913
2025-06-12 10:07:30 +01:00
Andy Wilkinson
ec3eeb7185 Merge branch '3.3.x' into 3.4.x
Closes gh-45912
2025-06-12 10:06:22 +01:00
Andy Wilkinson
ca21600fae Use Framework's StreamUtils instead of Commons Compress's IOUtils
Closes gh-45911
2025-06-12 10:00:30 +01:00
Andy Wilkinson
971660fcc3 Merge branch 'main' into 4.0.x 2025-05-27 14:24:09 +01:00
Andy Wilkinson
25b72d66fc Test Gradle plugin against 9.0.0-milestone-9 2025-05-27 12:12:35 +01:00
Andy Wilkinson
af7abb68e6 Merge branch 'main' into 4.0.x 2025-05-27 10:58:23 +01:00
Andy Wilkinson
5f591b376f Merge branch '3.4.x'
Closes gh-45694
2025-05-27 10:56:51 +01:00
Andy Wilkinson
2efad20f7b Broaden Gradle compatibility testing
Closes gh-45692
2025-05-27 10:56:38 +01:00
Stéphane Nicoll
6fceab2c90 Replace spring-jcl with vanilla commons-logging
See gh-45487

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-05-09 17:38:11 -07:00
Stéphane Nicoll
7035c0fa0a Upgrade to Kotlin 2.1.0
This commit upgrades to Kotlin 2.1.0. Two related dependencies have been
updated as well: Kotlin Coroutines to 1.10, and Kotlin Serialization to
1.8.

As of Kotlin 2, it is no longer possible to have a Java type and a
Kotlin type with the same name. As our code samples follow that
unfortunate pattern, this commit makes sure that the Kotlin sample code
does not depend on any of the Java counterpart and configure the kotlin
compilation plugin to ignore Java sources.

The minimum version of Gradle is 7.6.4. It bundles a version of Kotlin
that cannot compile a Kotlin build script when spring-core, compiled
with Kotlin 2.1, is on the classpath. Using Gradle 8.12 to run the DSL
tests avoids the problem.

Closes gh-45486

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-05-09 17:38:10 -07:00
Phillip Webb
fd061220a7 Upgrade to ArchUnit 1.4
Closes gh-45474
2025-05-09 17:38:09 -07:00
Phillip Webb
736ff7e3e2 Merge branch '3.4.x' 2025-04-28 12:20:19 -07:00
Phillip Webb
f172c2ca8f Merge branch '3.3.x' into 3.4.x 2025-04-28 12:20:08 -07:00
Phillip Webb
b2e691be02 Update copyright year of changed files 2025-04-28 12:20:02 -07:00
Phillip Webb
ba690d24d4 Merge branch '3.4.x' 2025-04-28 12:18:40 -07:00
Phillip Webb
708062ec1d Merge branch '3.3.x' into 3.4.x 2025-04-28 12:15:47 -07:00
Phillip Webb
428fa6d941 Fix copyright headers to consistently start with project inception year 2025-04-28 12:15:32 -07:00
Andy Wilkinson
67d23d5ec4 Merge branch '3.4.x' 2025-04-25 14:38:57 +01:00
Andy Wilkinson
468a33e72a Merge branch '3.3.x' into 3.4.x 2025-04-25 14:38:36 +01:00
Andy Wilkinson
c420786eed Upgrade to Gradle 8.14 2025-04-25 14:33:32 +01:00
Dmytro Nosan
da61d63db8 Add Docker configuration authentication to Maven and Gradle plugins
Update the Maven and Gradle plugins to make use of the new Docker
configuration authentication support.

See gh-45269

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-04-24 21:56:14 -07:00
Phillip Webb
dd49de03ee Relocate DockerConfiguration and refactor buildpack platform code
Relate `DockerConfiguration` from `...platform.docker` to
`...platform.build` since it contains build specific concepts.

This commit also refactors a few other areas of the code to make it
easier to support credential helpers in the future.

Closes gh-45283
2025-04-24 21:29:46 -07:00
Moritz Halbritter
0fb369e8b8 Use paketobuildpacks/builder-noble-java-tiny as the default image builder
Closes gh-42711
2025-04-24 15:21:22 +02:00
Stéphane Nicoll
238d83b318 Merge branch '3.4.x'
Closes gh-45242
2025-04-21 08:33:20 +02:00
Stéphane Nicoll
00d68399a7 Merge branch '3.3.x' into 3.4.x
Closes gh-45241
2025-04-21 08:32:14 +02:00
Claudio Nave
6a997d1026 Fix documentation links to buildpacks.io
See gh-45238

Signed-off-by: Claudio Nave <evaristegalois11@proton.me>
2025-04-21 08:30:35 +02:00
Phillip Webb
4bbbc0d687 Merge branch '3.4.x'
Closes gh-45193
2025-04-14 16:18:50 -07:00
Phillip Webb
b80bdbb182 Merge branch '3.3.x' into 3.4.x
Closes gh-45192
2025-04-14 16:18:41 -07:00
Johnny Lim
08c67cc353 Replace deprecated Project.task()
See gh-45009

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-14 16:17:53 -07:00
Moritz Halbritter
d0a93dd7cd Merge branch '3.4.x' 2025-03-11 14:01:11 +01:00
Moritz Halbritter
e7f8b22479 Enable platform mismatch test again
We now try to pull linux/arm64. The image only exists for linux/amd64, which should
throw the platform mismatch exception.

See gh-44059
2025-03-11 13:32:15 +01:00
Moritz Halbritter
58fab66163 Merge branch '3.4.x' 2025-03-10 16:15:48 +01:00
Moritz Halbritter
8fca1dbb6f Disable test until further investigation
See gh-44059
2025-03-10 16:12:33 +01:00
Moritz Halbritter
1aa1bab0a8 Merge branch '3.4.x' 2025-03-10 11:28:03 +01:00
Moritz Halbritter
24854f469c Use single-arch image to test platform mismatch detection
See gh-44059
2025-03-10 11:00:55 +01:00
Moritz Halbritter
12c9bfff2f Merge branch '3.4.x'
Closes gh-44640
2025-03-07 11:03:41 +01:00
Moritz Halbritter
d93f4f5554 Throw exception if pulled image platform doesn't match the requested platform
Closes gh-44059
2025-03-07 09:28:17 +01:00
Moritz Halbritter
0852243fc6 Merge branch '3.4.x'
Closes gh-44537
2025-03-05 11:56:32 +01:00
Moritz Halbritter
d453a59724 Merge branch '3.3.x' into 3.4.x
Closes gh-44536
2025-03-05 11:56:21 +01:00
Tran Ngoc Nhan
701f73fcd7 Fix JavaExec javadoc link
See gh-44526

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-03-05 11:55:29 +01:00
Stéphane Nicoll
48e3de0cd1 Merge branch '3.4.x'
Closes gh-44410
2025-02-22 19:05:14 +01:00
Stéphane Nicoll
de32c6ff79 Merge branch '3.3.x' into 3.4.x
Closes gh-44409
2025-02-22 19:05:07 +01:00
Tran Ngoc Nhan
d781ce164d Use Javadoc attributes for Gradle reference guide
See gh-44388

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-22 19:02:33 +01:00
Moritz Halbritter
ae16856bda Revert "Use noble buildpacks instead of jammy"
This reverts commit 4f672b9588.

See gh-42711
2025-02-19 16:00:27 +01:00