Stephane Nicoll
0f5ca030db
Polish "Add Java 14 CI"
...
See gh-20413
5 years ago
Stephane Nicoll
2e2f839bc8
Upgrade to Gradle 6.3 RC2
...
Closes gh-20558
5 years ago
Madhura Bhave
84b2e8c308
Rename classes package to application
...
Closes gh-20526
5 years ago
Scott Frederick
3dea2201c4
Use Gradle's configuration avoidance API
...
Register Boot Gradle tasks instead of creating them so they can be
loaded lazily.
Closes gh-18881
5 years ago
Scott Frederick
f2dadf5a87
Add support for customizing layers in Gradle
...
This commit adds configuration to the Spring Boot Gradle plugin that
allows the names and contents of layers to be customized in the build
configuration.
Fixes gh-20296
5 years ago
Johnny Lim
8526e66939
Polish
...
See gh-20498
5 years ago
dreis2211
daa3855fc8
Test the Gradle Plugin against Gradle 6.2.2
...
See gh-20385
5 years ago
Scott Frederick
509a1f1d41
Configure buildpack to use target Java version
...
With this commit, the Maven `spring-boot:build-image` goal and the
Gradle `bootBuildImage` task will configure the OpenJDK buildpack
to use the same JRE version as the project's target version,
provided the buildpack Java version is not explicitly set in the
build configuration.
Fixes gh-20172
5 years ago
dreis2211
442733600e
Test the Gradle plugin against Gradle 6.2.1
...
See gh-20310
5 years ago
Madhura Bhave
c5bce2b99d
Fix gradle plugin validation error
5 years ago
Madhura Bhave
15cd590f7f
Allow users to opt out of including the layer tools in a layered jar
...
For Maven, the layer configuration is now an additional configuration
option instead of a layout type.
Closes gh-19866
5 years ago
dreis2211
d55bc5f850
Test the Gradle Plugin against Gradle 6.2
...
See gh-20222
5 years ago
dreis2211
866c441d70
Upgrade to Gradle 6.2
...
See gh-20213
5 years ago
Andy Wilkinson
e065ee7be2
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20183
5 years ago
Andy Wilkinson
b9c2d775a9
Merge branch '2.2.x'
...
Closes gh-20185
5 years ago
Andy Wilkinson
d61b035640
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20183
5 years ago
Andy Wilkinson
c8907d46b4
Fix up-to-date checking of build info properties
...
Closes gh-20135
5 years ago
Scott Frederick
191dce3f5e
Set Spring Boot version in ephemeral builder
...
This commit adds a `createdBy` structure to the metadata of the ephemeral
builder container image that identifies Spring Boot as the creator of the
image, along with the Spring Boot version.
See gh-20126
5 years ago
Scott Frederick
12c640e133
Upgrade default image builder version
...
This commit upgrades the default CNB builder image from
cloudfoundry/cnb:0.0.43-bionic to cloudfoundry/cnb:0.0.53-bionic.
It also adds integration tests for the Maven and Gradle plugins
to verify both versions are supported.
5 years ago
Johnny Lim
6818279751
Fix typo
...
See gh-20049
5 years ago
Andy Wilkinson
bca98c5126
Use a RegularFileProperty to configure BootBuildImage's input jar
...
Closes gh-20010
5 years ago
Johnny Lim
e6d5f5a271
Polish
...
See gh-19995
5 years ago
Phillip Webb
1eee83a07e
Update copyright year of changed files
5 years ago
Phillip Webb
234c5033d4
Polish whitespace
5 years ago
Scott Frederick
653cabe2ce
Add documentation for gradle bootBuildImage task
5 years ago
Andy Wilkinson
7b0d1eaffc
Test the Gradle Plugin against Gradle 6.1.1
...
Closes gh-19912
5 years ago
Andy Wilkinson
54b3f480b4
Use posix long names when creating tar archive for image building
...
Fixes gh-19964
5 years ago
Stephane Nicoll
9fbaf7611b
Merge branch '2.2.x'
...
Closes gh-19966
5 years ago
Stephane Nicoll
b420bdb3ac
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19965
5 years ago
dreis2211
db2bacc62a
Fix Gradle plugin documentation links
...
See gh-19961
5 years ago
Stephane Nicoll
07a1783572
Polish "Introduce appendix section with version properties"
...
See gh-19898
5 years ago
dreis2211
65394582f6
Introduce appendix section with version properties
...
With the introduction of Gradle we lost the list of version properties
that were previously in the spring-boot-dependencies POM and were also
linked inside the documentation. This commit introduces an appendix
section in the docs and links the appropriate places to the new section
to restore discoverability.
See gh-19898
5 years ago
dreis2211
d75de39456
Upgrade to JUnit Jupiter 5.6.0
...
See gh-19907
5 years ago
dreis2211
d84ca1149c
Test the Gradle Plugin against Gradle 6.1
...
See gh-19776
5 years ago
Andy Wilkinson
1d396abec5
Fix bootBuildImage integration tests on Java 13
...
We build with Java 8, 11, and 13 without specifying target
compatibility for the bytecode of the app that's placed in the image.
The built image uses Java 11 and when the app is built with Java 13
it fails to start as the Java 11 VM can't read that Java 13 bytecode.
This commit configures the app that's placed in the image to be built
with target compatibility of 1.8. This allows it to be compiled with
all version of Java with which we build and to also be compatible
with the JVM that's in the image.
See gh-19831
5 years ago
Andy Wilkinson
01a0a54f78
Include layertools in layered jars build with Gradle
...
Closes gh-19867
5 years ago
Andy Wilkinson
288f5ceaee
Fix zip compression of libs in layered jars
...
Closes gh-19792
5 years ago
Andy Wilkinson
0bd0b2a6c0
Add support for building OCI images using the Gradle plugin
...
Closes gh-19831
5 years ago
Andy Wilkinson
bc452bc094
Polish BootJarTests
...
See gh-19847
See gh-19792
5 years ago
Phillip Webb
57db621b70
Polish
5 years ago
Madhura Bhave
13f7db2d8c
Write classpath index file from Gradle plugin
...
Closes gh-19847
5 years ago
Phillip Webb
e0013454b5
Use parentheses when declaring dependencies
...
Update all dependencies declarations to use the form `scope(reference)`
rather than `scope reference`.
Prior to this commit we declared dependencies without parentheses unless
we were forced to add them due to an `exclude`.
5 years ago
Madhura Bhave
df5b0f1163
Add support for layered jars in gradle plugin
...
Closes gh-19792
Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
5 years ago
Phillip Webb
bfd2ca7fd9
Polish Gradle expression references
...
Expand all expression `$` references to the full `${...}` form.
5 years ago
Andy Wilkinson
89237634c7
Fix classpath used for Gradle Plugin integration tests in Eclipse
...
See gh-19841
5 years ago
Andy Wilkinson
9d5975bd09
Upgrade to Gradle 6.1
...
Closes gh-19772
5 years ago
Phillip Webb
862462b791
Update copyright year of changed files
5 years ago
Phillip Webb
f57281340c
Merge branch '2.2.x'
5 years ago
Phillip Webb
3cfbfebbb1
Merge branch '2.1.x' into 2.2.x
5 years ago
Phillip Webb
9bd49562fe
Update copyright year of changed files
5 years ago
dreis2211
d454c9653c
Disable tests on Java 13 that require an incompatible Gradle version
...
See gh-19680
5 years ago
Andy Wilkinson
e415f759a2
Raise the minimum supported version of Gradle to 5.6
...
Closes gh-18777
5 years ago
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
5 years ago
Andy Wilkinson
47b47c28a0
Reduce visibility of the Gradle plugin's test methods
...
See gh-19287
5 years ago
Andy Wilkinson
76f03a8cad
Fix reflective access to archiveBaseName property
...
Previously, reflective access to the archiveBaseName property
incorrectly treated the property as a String. It should have been
treated as a Property<String>. This caused an exception to be thrown
and the deprecated baseName property to be used as a fallback.
This commit corrects the reflective access to the archiveBaseName
property. It also updates the tests to fail if a build outputs a
deprecation warning. Tests that use Gradle's Maven plugin have been
updated to expect deprecation warnings when run with Gradle 6.0 where
the plugin is deprecated. Tests that configure an archive's base name
have been updated to use archiveBaseName when running with Gradle 6.0
and later.
Closes gh-18663
5 years ago
dreis2211
347434ba81
Test the Gradle Plugin against Gradle 6.0.1
...
See gh-19065
5 years ago
Johnny Lim
96a029e44f
Polish a test name
...
See gh-18999
5 years ago
Andy Wilkinson
379ba0dc00
Support Gradle 6.0
...
Previously, our Gradle plugin was not tested against Gradle 6.0,
a number of deprecation warnings were output when using the plugin
with Gradle 6, and some functionality related to the application
plugin did not work as expected.
This commit tests the plugin against Gradle 6. It also avoids calling
deprecated APIs. The plugin is compatibile against Gradle 4.10 where
the deprecated APIs' replacements are not available so reflection is
used to call the replcaements. Lastly, the way in which the base name
of the boot distribution that is created when the application plugin
is applied has been modified to ensure that it is effective when using
Gradle 6.
Closes gh-18663
5 years ago
Stephane Nicoll
b951e70d18
Merge branch '2.1.x'
...
Closes gh-18850
5 years ago
dreis2211
8955d5c1b5
Test the Gradle Plugin against Gradle 5.6.4
...
See gh-18845
5 years ago
Andy Wilkinson
03f5791860
Merge branch '2.1.x'
...
Closes gh-18650
5 years ago
dreis2211
d17f11dbe1
Test the Gradle Plugin against Gradle 5.6.3
...
See gh-18648
5 years ago
Johnny Lim
137538f415
Remove accidental JavaVersion.current() call in BootRun
...
It was added accidentally in d2b28ceb
.
See gh-18619
5 years ago
Andy Wilkinson
9a89039172
Provide a marker artifact for Boot's Gradle plugin
...
Closes gh-18514
5 years ago
Phillip Webb
a13666d696
Polish "Simplify code"
...
See gh-18342
5 years ago
Yuyan
4d0da4b700
Simplify code
...
See gh-18342
5 years ago
Andy Wilkinson
d2b28ceba5
Don't add -Xverify:none to JVM args when running on Java 13
...
Closes gh-17008
5 years ago
Johnny Lim
5b41c3b608
Polish
...
See gh-18192
5 years ago
Andy Wilkinson
0c0e2dd54b
Merge branch '2.1.x'
...
Closes gh-18186
5 years ago
Andy Wilkinson
7b1e10ed00
Use one sentence per line in Actuator and Gradle plugin doc source
...
Closes gh-18185
5 years ago
Andy Wilkinson
fc1889ee72
Merge branch '2.1.x'
...
Closes gh-18167
5 years ago
dreis2211
ae30515e5e
Test the Gradle Plugin against Gradle 5.6.2
...
See gh-18164
5 years ago
Andy Wilkinson
7f8b3a7b86
Test the Gradle Plugin against Gradle 5.6.1
...
Closes gh-17995
5 years ago
dreis2211
26a22fa523
Test the Gradle Plugin against Gradle 5.6.1
...
See gh-17984
Closes gh-17984
5 years ago
Stephane Nicoll
b57db504df
Fix broken build due to Kotlin upgrade
5 years ago
Andy Wilkinson
a785a5b58a
Test the Gradle Plugin against Gradle 5.6
...
Closes gh-17883
5 years ago
dreis2211
56940fca97
Test the Gradle Plugin against Gradle 5.6
...
See gh-17876
5 years ago
SaberXu
c6c3a91f8d
Simplify if statements
...
See gh-17785
5 years ago
Stephane Nicoll
5926547767
Merge branch '2.1.x'
...
Closes gh-17745
5 years ago
Stephane Nicoll
0c560795fd
Harmonize settings.gradle documentation in Gradle getting started guide
...
See gh-17736
5 years ago
Dave Syer
e7b0450a7f
Add missing repositories to snapshot configuration
...
See gh-17736
5 years ago
Phillip Webb
8bc780762a
Merge branch '2.1.x'
5 years ago
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
5 years ago
Phillip Webb
30b5ba87ae
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
01933f9b06
Merge previously split strings
...
Merge some string lines that were previously split because of the
90 chars wide formatting.
5 years ago
Stephane Nicoll
79b29396d0
Merge branch '2.1.x'
...
Closes gh-17506
5 years ago
dreis2211
e9203a280c
Test the Gradle Plugin against Gradle 5.5.1
...
See gh-17496
5 years ago
Andy Wilkinson
2816635418
Polish
5 years ago
Andy Wilkinson
aa01bd3890
Polish "Polish GradleCompatibilityExtension's javadoc"
...
See gh-17411
5 years ago
dreis2211
dc4cc214fe
Polish GradleCompatibilityExtension's javadoc
...
See gh-17411
5 years ago
Andy Wilkinson
9d5fa98334
Merge branch '2.1.x'
...
Closes gh-17429
5 years ago
Andy Wilkinson
7553b60e68
Test the Gradle Plugin against Gradle 5.5
...
Closes gh-17428
5 years ago
Phillip Webb
a66c4d3096
Unify method visibility of private classes
...
Apply checkstyle rule to ensure that private and package private
classes do not have unnecessary public methods. Test classes have
also been unified as much as possible to use default scoped
inner-classes.
Closes gh-7316
5 years ago
Phillip Webb
605599138e
Merge branch '2.1.x'
5 years ago
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
5 years ago
Stephane Nicoll
e560b7f6ba
Remove public modifier on JUnit5 lifecycle methods
...
See gh-17292
5 years ago
Phillip Webb
2c2b962204
Merge branch '2.1.x'
...
Closes gh-17232
6 years ago
Phillip Webb
d82ccf1405
Ensure META-INF/MANIFEST.MF remains as first entry
...
Update Gradle archive tasks to ensure that `META-INF/` and
`META-INF/MANIFEST.MF` remain as the first entries of the archive.
Prior to this commit, rewritten archives would violate the implicit
specification of `JarInputStream` that these entries should be first.
Fixes gh-16698
6 years ago
Johnny Lim
368c0eebe4
Fix typo
...
See gh-17132
6 years ago
Phillip Webb
b3d5cd538d
Add JUnit 5 checkstyle rules
...
Add a rule to enforce JUnit 5 usage and conventions.
Closes gh-17093
6 years ago
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
6 years ago
Andy Wilkinson
aef92b9295
Merge branch '2.1.x'
...
Closes gh-17079
6 years ago
Andy Wilkinson
24925c3dae
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17078
6 years ago
Andy Wilkinson
c6c139d980
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
ad5e905bd7
Update copyright header of changed files
6 years ago
dreis2211
e59d734098
Fix Gradle plugin code formatting
...
See gh-16984
6 years ago
Andy Wilkinson
c80218064f
Use sorted properties to make build info output repeatable
...
Closes gh-14494
6 years ago
Andy Wilkinson
54b123028c
Default to optimized launch of the JVM when using Gradle's bootRun
...
Closes gh-16222
6 years ago
Andy Wilkinson
babb94c791
Migrate spring-boot-gradle-plugin's tests to JUnit 5
...
Closes gh-16959
6 years ago
Andy Wilkinson
f35b91a172
Raise minimum supported version of Gradle to 4.10 and encourage use of 5.x
...
Closes gh-16681
6 years ago
Andy Wilkinson
538030b57e
Merge branch '2.1.x'
...
Closes gh-16693
6 years ago
Andy Wilkinson
881fbeff43
Test the Gradle Plugin against Gradle 5.4.1
...
Closes gh-16576
6 years ago
Andy Wilkinson
7d2a99943f
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
dfbc787737
Test the Gradle plugin against Gradle 5.4
...
Closes gh-16576
6 years ago
Andy Wilkinson
9d1f584560
Adapt Gradle plugin tests to change in Kotlin's packaging
...
Closes gh-16554
6 years ago
Stephane Nicoll
c4b1a22e89
Polish "Add Spring-specific styling to Gradle Plugin's documentation"
...
Closes gh-16327
6 years ago
Hendrig Sellik
466b57cd44
Add Spring-specific styling to Gradle Plugin's documentation
...
This commit replaces the default Asciidoctor styling with
Spring specific styling.
First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.
See gh-16327
6 years ago
Andy Wilkinson
c5024f21a4
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
6aa4fe579a
Polish
...
See gh-16068
6 years ago
Andy Wilkinson
ac4d6bb10f
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
db4623c519
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
7b5f46d6e3
Add Spring-Boot-* manifest attributes to jars and wars built with Gradle
...
Closes gh-16068
6 years ago
Stephane Nicoll
17a800b577
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
62d9c0a8b3
Test against Gradle 5.3.1
6 years ago
Spring Operator
fb242c27d2
Use HTTPS for external links wherever possible
...
See gh-16276
6 years ago
Stephane Nicoll
90160b16aa
Merge branch '2.1.x'
6 years ago
dreis2211
c2335e130c
Test against Gradle 5.3
...
Closes gh-16294
6 years ago
Andy Wilkinson
36c1c051b8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
daba01ab94
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
716b4e8acf
Test the Gradle plugin against Gradle 5.3-rc-3
...
Closes gh-16211
6 years ago
Phillip Webb
64a2e8d67f
Update copyright year for changed files
6 years ago
Phillip Webb
dd3e8154d9
Merge branch '2.1.x'
6 years ago
Phillip Webb
fc3aa43cc2
Update copyright year for changed files
6 years ago
Andy Wilkinson
404f5d33f3
Align Gradle plugin's tests with Kotlin 1.3's restructuring
...
See gh-16195
6 years ago
Andy Wilkinson
f2e3e274a8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
53326695ea
Polish
6 years ago
Andy Wilkinson
f4bd0b8b4b
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
59430a2642
Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
...
Closes gh-16001
6 years ago
Andy Wilkinson
2cda30988e
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
6fe9e3a0e1
Test the Gradle plugin against Gradle 5.2.1
...
Closes gh-15892
6 years ago
Andy Wilkinson
4faa0f51b7
Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
...
Closes gh-15791
6 years ago
dreis2211
1de372d896
Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
...
See gh-15791
6 years ago
Andy Wilkinson
342bced125
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
6 years ago
igor-suhorukov
59ac85d371
Avoid string concatenation inside StringBuilder append()
...
See gh-15589
6 years ago
Andy Wilkinson
372b6605b3
Merge branch '2.1.x'
6 years ago