3362 Commits

Author SHA1 Message Date
Andy Wilkinson
3acea583ad Add support for working with resources in tests
Closes gh-44444
2025-02-26 15:29:20 +00: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
Dmytro Nosan
e919fd806f Polish ClassPath
See gh-44355

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-19 12:20:10 -08:00
Phillip Webb
082c5859e8 Polish 2025-02-18 17:22:53 -08:00
Phillip Webb
8aea6d575a Update copyright year of changed files 2025-02-18 15:11:35 -08:00
Dmytro Nosan
0e81b6386e Don't use ArgFile when using JavaCompiler
See gh-44340

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 12:10:41 -08:00
Dmytro Nosan
616d4cb149 Polish ClasspathBuilder
See gh-44330

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 12:08:49 -08:00
Stéphane Nicoll
29e498b6bc Only run Windows-related tests on Windows
See gh-44305
2025-02-18 16:59:32 +01:00
Stéphane Nicoll
cd8c12da0b Polish "Use ArgFile for classpath argument on Windows"
See gh-44305
2025-02-18 16:25:57 +01:00
Dmytro Nosan
a6b80831f0 Use ArgFile for classpath argument on Windows
This commit uses @argfile syntax for classpath argument on Windows OS
to avoid creating a command-line that is too long.

See gh-44305

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-18 16:25:57 +01:00
Andy Wilkinson
2e00552130 Move MockPkcs11Security to spring-boot-testsupport
Closes gh-44260
2025-02-13 14:48:16 +00:00
Moritz Halbritter
461e30f668 Add JsonView to PluginClasspathGradleBuild 2025-02-06 14:26:51 +01:00
Stéphane Nicoll
b46698774d Upgrade to Native Build Tools Plugin 0.10.5
Closes gh-44141
2025-02-05 14:57:50 +01:00
Andy Wilkinson
4b8d5f22de Remove Java 8-specific build configuration that will never apply
With our Java 17 baseline, the build configuration that is only
applicable when building with Java 8 will never be used. This commit
removes it.

Closes gh-44129
2025-02-05 08:47:29 +00:00
Phillip Webb
80e8ab8779 Support commercial repositories in effective BOM and Ivy
Update `BomExtension` to resolve '{spring.mavenRepositories}' and add
credentials to `ivysettings.xml` and `settings.xml`.

Closes gh-44050
2025-02-03 18:22:53 -08:00
Andy Wilkinson
d8a9ebd14b Upgrade to Gradle 8.12
Closes gh-43649
2025-01-02 12:05:14 +00:00
Andy Wilkinson
734040abe2 Update Gradle test scripts to avoid warnings with 8.12
Closes gh-43496
2025-01-02 12:05:14 +00:00
Johnny Lim
b8abfb8c9b Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds()
See gh-43625
2024-12-29 10:30:09 +01:00
Stéphane Nicoll
8fbd14b4dd Polish 2024-12-28 10:27:01 +01:00
Stéphane Nicoll
7e9fda8216 Polish "Preserve milliseconds in build info timestamp"
See gh-43612
2024-12-26 15:58:09 +01:00
Gaurav
0944b07c90 Preserve milliseconds in build info timestamp
See gh-43612
2024-12-26 15:52:08 +01:00
Phillip Webb
239fa0356f Remove trailing slashes from all link URLs
Closes gh-43518
2024-12-16 10:44:20 -08:00
Tran Ngoc Nhan
7832d3be73 Fix typo
See gh-43512
2024-12-16 10:42:22 +01:00
Phillip Webb
45da43c6b4 Update copyright year of changed files 2024-12-13 19:03:43 -08:00
Phillip Webb
f21402d4c3 Consistently return non-zero exit codes for jarmode failures
Update jar mode launchers to catch all exceptions and return a non-zero
exit code. This refinement also allows us to consolidate the existing
error reporting logic to a central locations. Modes that wish to report
a simple error rather than a full stacktrace can throw the newly
introduced `JarModeErrorException`.

Fixes gh-43435
2024-12-06 19:00:50 -08:00
Phillip Webb
9e7972a9b4 Polish code with code cleanup rules 2024-12-04 15:03:40 -08:00
Phillip Webb
0afbc0b23c Polish 'Accept Docker progress on numbers >2GB'
Restore `int` returns for existing methods and deprecate them in
favor of a new `asPercentage()` method.

See gh-43328
2024-12-02 13:58:03 -08:00
Wolfgang Kronberg
d8565185e8 Accept Docker progress on numbers >2GB
Update `ProgressUpdateEvent` to support images of a file size
>2GB without provoking build failures.

See gh-43328
2024-12-02 13:56:09 -08:00
Andy Wilkinson
bb3651b7d1 Reduce warnings reported by Eclipse
Closes gh-43269
2024-11-22 15:39:35 +00:00
Andy Wilkinson
cf1dadf2e7 Stop publishing CLI's Homebrew formula in commercial builds
Closes gh-43247
2024-11-22 11:58:50 +00:00
Phillip Webb
66ec6b32e3 Merge branch '3.2.x' into 3.3.x
Closes gh-43170
2024-11-14 15:50:04 -08:00
Phillip Webb
25b6477aa8 Support alternative media type format
Update `ExportedImageTar` media type detection to support `tar+gzip`
as well as `tar.gzip`. Recent updates to Docker Desktop appear to have
changed the format.

Fixes gh-43126
2024-11-14 15:25:15 -08:00
Phillip Webb
a293560237 Support nested OCI indexes
Update `ExportedImageTar.IndexLayerArchiveFactory` to support nested
indexes. Nested indexes support a layer of interaction where the
`index.json` file points to a blob that contains the read index to use.

Prior to this commit, we only supported indexes provided directly by
the `index.json` file. This missing support results in "buildpack.toml:
no such file or directory" errors when referencing specific buildpacks
and using Docker Engine 27.3.1 or above.

See gh-43126
2024-11-14 15:24:47 -08:00
Moritz Halbritter
6f52739c32 Merge branch '3.2.x' into 3.3.x
Closes gh-43140
2024-11-13 14:41:45 +01:00
Moritz Halbritter
3b0fec6d00 Upgrade build to Gradle 8.11
Closes gh-43136
2024-11-13 14:36:08 +01:00
Andy Wilkinson
81872afd53 Merge branch '3.2.x' into 3.3.x
Closes gh-43069
2024-11-08 09:55:22 +00:00
Andy Wilkinson
2fa28fb822 Improve error reporting when image loading fails
Closes gh-31243
2024-11-08 09:51:57 +00:00
Moritz Halbritter
317d943083 Use native encoding when writing the java arguments file
Closes gh-43051
2024-11-07 15:14:45 +01:00
Andy Wilkinson
32c61a99e4 Merge branch '3.2.x' into 3.3.x
Closes gh-43060
2024-11-07 12:38:36 +00:00
Andy Wilkinson
03a3425767 Fix test for incremental build with type rename
Closes gh-38119
2024-11-07 12:38:03 +00:00
Phillip Webb
189e49f6d6 Merge branch '3.2.x' into 3.3.x
Closes gh-42991
2024-11-04 15:56:29 -08:00
Phillip Webb
c62a018830 Align buildpack certificate and key parsers with SSL versions
Closes gh-37969
2024-11-04 15:53:39 -08:00
Phillip Webb
4a7c757945 Merge branch '3.2.x' into 3.3.x
Closes gh-42989
2024-11-04 14:34:17 -08:00
Phillip Webb
202db9b7f4 Update copyright year of changed files 2024-11-04 14:28:23 -08:00
Andy Wilkinson
bffde8228e Merge branch '3.2.x' into 3.3.x
Closes gh-42982
2024-11-04 13:15:12 +00:00
Andy Wilkinson
2fc0016ef1 Fix spring-boot-gradle-plugin's tests in Eclipse
Closes gh-32625
2024-11-04 13:11:45 +00:00
Andy Wilkinson
a3168e3a2f Centralize dependency management of Commons Compress
Closes gh-39368
2024-11-04 11:45:41 +00:00
Tran Ngoc Nhan
9e92bfe906 Polish
See gh-42974
2024-11-02 20:20:06 +09:00
Andy Wilkinson
f9281a61ff Rework Antora Gradle Infrastructure
Closes gh-40572

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-11-01 14:28:18 +00:00
Moritz Halbritter
6470748d6d Merge branch '3.2.x' into 3.3.x
Closes gh-42959
2024-10-31 15:07:02 +01:00