Andy Wilkinson
cf84ae7ad8
Exclude non-existent test classes dirs from AOT test processing
...
See gh-32192
3 years ago
Andy Wilkinson
fc979397be
Polish SpringBootAotPlugin
3 years ago
Andy Wilkinson
fd28f6d1d6
Add Gradle plugin support for processing test contexts ahead-of-time
...
Closes gh-32192
3 years ago
Phillip Webb
c0b3d36205
Rename 'generateAotSources' task to processAot'
...
See gh-31918
3 years ago
Phillip Webb
546d7b41e9
Polish 'Add JVM options to prevent warnings with asciidoctor'
...
See gh-32123
3 years ago
Dave Syer
7b4db4cafc
Add JVM options to prevent warnings with asciidoctor
...
See gh-32123
3 years ago
Andy Wilkinson
a8ae7a1e44
Fix Gradle AOT integration test on Windows
...
See gh-31970
3 years ago
Stephane Nicoll
332419e3a7
Remove extra 'build' directory
...
See gh-32069
3 years ago
Stephane Nicoll
e21041ce65
Harmonize location of generated classes processed Ahead-of-time
...
Closes gh-32069
3 years ago
Andy Wilkinson
cb18eb095b
Make transitive runtime dependencies available to AOT processing
...
Closes gh-31970
3 years ago
Phillip Webb
e08c16dfd6
Polish
3 years ago
Andy Wilkinson
6c28156b29
Avoid config-time creation of AOT source set's tasks
...
Closes gh-31844
3 years ago
Scott Frederick
4e0b3aad9f
Clarify how docker image publishing registry is determined
...
Closes gh-31820
3 years ago
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