Scott Frederick
f9cf31e59e
Fix compile errors
...
See gh-28844
3 years ago
Scott Frederick
9b0cdac58a
Simplify support for pushing images to unauthenticated registries
...
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.
Fixes gh-28844
3 years ago
Andy Wilkinson
6da8c88b2b
Include library resources on classpath of AOT source generation
...
Closes gh-31803
3 years ago
Andy Wilkinson
7bd9873cd9
Raise the minimum supported version of Gradle to 7.5
...
Closes gh-31215
3 years ago
Moritz Halbritter
3703b317ce
Enable GraalVM reachability metadata repository
...
Closes gh-31687
3 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
4 years ago
dreis2211
fb45fc4819
Use Files.writeString() and Files.readString() where possible
...
See gh-31459
4 years ago
dreis2211
a639685053
Remove obsolete Java compatibility code
...
See gh-31452
4 years ago
Johnny Lim
5d7d0d8047
Use 3.0.0 for Javadoc since tags
...
See gh-31448
4 years ago
Lars Grefer
8c9557f552
Enable Links for the Javadoc of the Gradle Plugins
...
See gh-31279
4 years ago
Andy Wilkinson
0b6c147a87
Polish
4 years ago
Andy Wilkinson
da8dafe138
Make afterResolve hook used by bootJar and bootWar more robust
...
Previously, ResolvedDependencies used hasError on
ResolvedConfiguration to check that it was safe to work with all
of the resolved configuration's artifacts and their files. This
check is not sufficient as errors can still occur later on.
This commit updates ResolvedDependencies to use a lenient
configuration, thereby avoiding any problems that may be caused by
errors that occur after the hasError check.
Closes gh-30586
4 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
4 years ago
Andy Wilkinson
cbf42dea14
Update deprecation messages to change removal version from 2.8 to 3.0
...
Closes gh-30903
4 years ago
Phillip Webb
7d2f1bafc0
Update copyright year of changed files
4 years ago
Phillip Webb
350d27fe50
Polish code to use method references when possible
4 years ago
Andy Wilkinson
293a3c9ec1
Fix arguments passed to AOT processing in Gradle plugin
...
See gh-30527
4 years ago
Phillip Webb
8cf63a28b8
Update AOT work to latest Framework code
4 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
4 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
4 years ago
Andy Wilkinson
fcf45d5c22
Add support for invoking AOT to the Gradle plugin
...
Closes gh-30527
4 years ago
Andy Wilkinson
193ef9a06d
Package META-INF/services/ files beneath BOOT-INF/classes/
...
Closes gh-30413
4 years ago
izeye
ed412af138
Polish
...
See gh-30695
4 years ago
Andy Wilkinson
f7d181e65b
Handle null additional properties more gracefully
...
Closes gh-30654
4 years ago
izeye
40d0e38e76
Test Spring Boot Gradle Plugin against Gradle 7.4.2
...
See gh-30506
4 years ago
Andy Wilkinson
42ae55895d
Simplify resolution of the application's main class name
...
Closes gh-30467
4 years ago
Andy Wilkinson
05b7befc7a
Fix javadoc of ResolveMainClassName setClasspath(Object)
...
Closes gh-30468
4 years ago
Octavia Togami
264a6888a9
Refactor code to avoid using internal LazyPublishArtifact
...
See gh-30209
4 years ago
Andy Wilkinson
f11ddb4bd7
Prevent eager creation of bootWar task
...
Previously, querying the artifact's extension in
SinglePublishedArtifact would result in eager creation of the task
that creates the artifact. Typically, this is the bootWar task.
Instead of querying the extension, this commit reworks
SinglePublishedArtifact and its callers to call separate methods for
jar and war artifacts so that the extension check is no longer
required.
Tests have been added to ensure that running help does not trigger
any unexpected task creation. The tests' assertions tolerate some
variation in behavior that depend on the version of Gradle and
whether the configuration cache is enabled.
Closes gh-30211
4 years ago
Scott Frederick
de321b00b7
Support podman for building images
...
Closes gh-30196
4 years ago
Scott Frederick
7ad538cd84
Add option to use configured Docker host in builder
...
This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.
Fixes gh-29384
4 years ago
Andy Wilkinson
5264fb3d1e
Test our Gradle Plugin against Gradle 7.4.1
...
Closes gh-30139
4 years ago
Andy Wilkinson
20d21d4e58
Set up CI with JDK 18
...
Closes gh-30104
4 years ago
Madhura Bhave
480ccc6175
Clarify devtools documentation when using with build plugins
...
Closes gh-17851
4 years ago
Andy Wilkinson
e7566e968e
Use configuration avoidance APIs in Gradle plugin's docs
...
Closes gh-30056
4 years ago
Andy Wilkinson
4073cf8334
Only apply special handling of META-INF to jar files
...
The changes for gh-28562 attempted to align the Gradle plugin's
handling of META-INF with the Maven plugin's behavior. Unfortunately,
they want too far, applying the handling to both jar and war files
when the Maven plugin only applies it to jar files.
This commit reworks the changes so that they only apply to jar files.
Closes gh-30026
4 years ago
Andy Wilkinson
9c9e04b8e4
Use mainClass rather than deprecated main in BootRun examples
...
Closes gh-29965
4 years ago
Phillip Webb
ff4b92a3ba
Update copyright year of changed files
4 years ago
Phillip Webb
c86b1330cf
Update copyright year of changed files
4 years ago
Phillip Webb
9ab1b669d0
Polish
4 years ago
Andy Wilkinson
03352b0a8c
Prohibit use of APIs that prevent task configuration avoidance
...
Closes gh-29809
4 years ago
izeye
6bd6f590d3
Fix Javadoc since for ResolveMainClassName#setClasspath(Object)
...
See gh-29826
4 years ago
Andy Wilkinson
c84b35c460
Polish "Avoid using Gradle APIs that trigger eager task creation"
...
See gh-29762
4 years ago
Lars Grefer
7cd87acd73
Avoid using Gradle APIs that trigger eager task creation
...
See gh-29762
4 years ago
Andy Wilkinson
1fd4a4d86b
Remove code related to unsupported versions of Gradle
...
Closes gh-29681
4 years ago
Andy Wilkinson
c3eee4ad68
Align Gradle's plugin's META-INF repackaging with Maven plugin's
...
Closes gh-28562
4 years ago
Andy Wilkinson
6901f6dab2
Test our Gradle plugin against Gradle 7.4
...
Closes gh-29673
4 years ago
Andy Wilkinson
067a8dd3ec
Raise the minimum supported version of Gradle to 7.4
...
Closes gh-29674
4 years ago
Andy Wilkinson
48fe1513fe
Test documented build script snippets when they change
...
Closes gh-29684
4 years ago
Mike Partridge
2e9dcdd96d
Replace use of classifier with archiveClassifier
...
classifier has been deprecated so the docs should be using its
replacement, archiveClassifier, instead.
See gh-29611
4 years ago