Johnny Lim
8526e66939
Polish
...
See gh-20498
2020-03-11 12:17:58 +01:00
dreis2211
daa3855fc8
Test the Gradle Plugin against Gradle 6.2.2
...
See gh-20385
2020-03-04 14:56:20 +01:00
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
2020-02-25 15:11:42 -06:00
dreis2211
442733600e
Test the Gradle plugin against Gradle 6.2.1
...
See gh-20310
2020-02-25 05:52:00 -05:00
Madhura Bhave
c5bce2b99d
Fix gradle plugin validation error
2020-02-19 19:15:13 -08:00
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
2020-02-19 17:28:27 -08:00
dreis2211
d55bc5f850
Test the Gradle Plugin against Gradle 6.2
...
See gh-20222
2020-02-19 09:26:54 +01:00
dreis2211
866c441d70
Upgrade to Gradle 6.2
...
See gh-20213
2020-02-18 14:39:10 +00:00
Andy Wilkinson
e065ee7be2
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20183
2020-02-14 14:47:03 +00:00
Andy Wilkinson
b9c2d775a9
Merge branch '2.2.x'
...
Closes gh-20185
2020-02-14 14:43:46 +00:00
Andy Wilkinson
d61b035640
Merge branch '2.1.x' into 2.2.x
...
Closes gh-20183
2020-02-14 13:54:23 +00:00
Andy Wilkinson
c8907d46b4
Fix up-to-date checking of build info properties
...
Closes gh-20135
2020-02-14 11:56:19 +00:00
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
2020-02-12 13:31:21 -06:00
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.
2020-02-06 17:24:29 -06:00
Johnny Lim
6818279751
Fix typo
...
See gh-20049
2020-02-06 16:39:25 +01:00
Andy Wilkinson
bca98c5126
Use a RegularFileProperty to configure BootBuildImage's input jar
...
Closes gh-20010
2020-02-02 14:39:50 +00:00
Johnny Lim
e6d5f5a271
Polish
...
See gh-19995
2020-02-01 09:24:20 +01:00
Phillip Webb
1eee83a07e
Update copyright year of changed files
2020-01-30 17:09:49 -08:00
Phillip Webb
234c5033d4
Polish whitespace
2020-01-30 17:09:49 -08:00
Scott Frederick
653cabe2ce
Add documentation for gradle bootBuildImage task
2020-01-30 17:54:15 -06:00
Andy Wilkinson
7b0d1eaffc
Test the Gradle Plugin against Gradle 6.1.1
...
Closes gh-19912
2020-01-30 15:12:30 +00:00
Andy Wilkinson
54b3f480b4
Use posix long names when creating tar archive for image building
...
Fixes gh-19964
2020-01-30 13:31:27 +00:00
Stephane Nicoll
9fbaf7611b
Merge branch '2.2.x'
...
Closes gh-19966
2020-01-28 14:43:54 +01:00
Stephane Nicoll
b420bdb3ac
Merge branch '2.1.x' into 2.2.x
...
Closes gh-19965
2020-01-28 14:43:30 +01:00
dreis2211
db2bacc62a
Fix Gradle plugin documentation links
...
See gh-19961
2020-01-28 14:41:05 +01:00
Stephane Nicoll
07a1783572
Polish "Introduce appendix section with version properties"
...
See gh-19898
2020-01-27 14:53:52 +01:00
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
2020-01-27 14:53:32 +01:00
dreis2211
d75de39456
Upgrade to JUnit Jupiter 5.6.0
...
See gh-19907
2020-01-26 08:39:12 +01:00
dreis2211
d84ca1149c
Test the Gradle Plugin against Gradle 6.1
...
See gh-19776
2020-01-24 13:46:00 +01:00
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
2020-01-23 13:50:22 +00:00
Andy Wilkinson
01a0a54f78
Include layertools in layered jars build with Gradle
...
Closes gh-19867
2020-01-23 11:43:19 +00:00
Andy Wilkinson
288f5ceaee
Fix zip compression of libs in layered jars
...
Closes gh-19792
2020-01-23 11:40:13 +00:00
Andy Wilkinson
0bd0b2a6c0
Add support for building OCI images using the Gradle plugin
...
Closes gh-19831
2020-01-23 10:52:57 +00:00
Andy Wilkinson
bc452bc094
Polish BootJarTests
...
See gh-19847
See gh-19792
2020-01-23 10:05:33 +00:00
Phillip Webb
57db621b70
Polish
2020-01-22 23:06:58 -08:00
Madhura Bhave
13f7db2d8c
Write classpath index file from Gradle plugin
...
Closes gh-19847
2020-01-22 19:32:08 -08:00
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`.
2020-01-22 16:02:38 -08:00
Madhura Bhave
df5b0f1163
Add support for layered jars in gradle plugin
...
Closes gh-19792
Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
2020-01-22 14:53:36 -08:00
Phillip Webb
bfd2ca7fd9
Polish Gradle expression references
...
Expand all expression `$` references to the full `${...}` form.
2020-01-21 18:33:33 -08:00
Andy Wilkinson
89237634c7
Fix classpath used for Gradle Plugin integration tests in Eclipse
...
See gh-19841
2020-01-21 14:59:07 +00:00
Andy Wilkinson
9d5975bd09
Upgrade to Gradle 6.1
...
Closes gh-19772
2020-01-16 10:00:45 +00:00
Phillip Webb
862462b791
Update copyright year of changed files
2020-01-13 17:04:19 -08:00
Phillip Webb
f57281340c
Merge branch '2.2.x'
2020-01-13 16:46:49 -08:00
Phillip Webb
3cfbfebbb1
Merge branch '2.1.x' into 2.2.x
2020-01-13 16:45:40 -08:00
Phillip Webb
9bd49562fe
Update copyright year of changed files
2020-01-13 14:09:11 -08:00
dreis2211
d454c9653c
Disable tests on Java 13 that require an incompatible Gradle version
...
See gh-19680
2020-01-13 16:51:55 +00:00
Andy Wilkinson
e415f759a2
Raise the minimum supported version of Gradle to 5.6
...
Closes gh-18777
2020-01-13 12:10:13 +00:00
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
Andy Wilkinson
47b47c28a0
Reduce visibility of the Gradle plugin's test methods
...
See gh-19287
2019-12-05 10:24:48 +00:00
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
2019-11-27 12:52:05 +00:00
dreis2211
347434ba81
Test the Gradle Plugin against Gradle 6.0.1
...
See gh-19065
2019-11-21 13:44:55 +01:00
Johnny Lim
96a029e44f
Polish a test name
...
See gh-18999
2019-11-13 08:52:32 +01:00
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
2019-11-11 16:36:40 +00:00
Stephane Nicoll
b951e70d18
Merge branch '2.1.x'
...
Closes gh-18850
2019-11-04 09:57:48 +01:00
dreis2211
8955d5c1b5
Test the Gradle Plugin against Gradle 5.6.4
...
See gh-18845
2019-11-04 09:56:12 +01:00
Andy Wilkinson
03f5791860
Merge branch '2.1.x'
...
Closes gh-18650
2019-10-18 10:37:39 +01:00
dreis2211
d17f11dbe1
Test the Gradle Plugin against Gradle 5.6.3
...
See gh-18648
2019-10-18 10:35:54 +01:00
Johnny Lim
137538f415
Remove accidental JavaVersion.current() call in BootRun
...
It was added accidentally in d2b28ceb
.
See gh-18619
2019-10-16 13:40:21 +01:00
Andy Wilkinson
9a89039172
Provide a marker artifact for Boot's Gradle plugin
...
Closes gh-18514
2019-10-11 16:51:29 -05:00
Phillip Webb
a13666d696
Polish "Simplify code"
...
See gh-18342
2019-09-26 19:12:18 -07:00
Yuyan
4d0da4b700
Simplify code
...
See gh-18342
2019-09-26 19:09:28 -07:00
Andy Wilkinson
d2b28ceba5
Don't add -Xverify:none to JVM args when running on Java 13
...
Closes gh-17008
2019-09-18 21:51:41 +01:00
Johnny Lim
5b41c3b608
Polish
...
See gh-18192
2019-09-12 14:55:47 +02:00
Andy Wilkinson
0c0e2dd54b
Merge branch '2.1.x'
...
Closes gh-18186
2019-09-09 11:16:30 +01:00
Andy Wilkinson
7b1e10ed00
Use one sentence per line in Actuator and Gradle plugin doc source
...
Closes gh-18185
2019-09-09 10:59:49 +01:00
Andy Wilkinson
fc1889ee72
Merge branch '2.1.x'
...
Closes gh-18167
2019-09-06 14:04:54 +01:00
dreis2211
ae30515e5e
Test the Gradle Plugin against Gradle 5.6.2
...
See gh-18164
2019-09-06 13:19:08 +01:00
Andy Wilkinson
7f8b3a7b86
Test the Gradle Plugin against Gradle 5.6.1
...
Closes gh-17995
2019-08-29 12:53:50 +01:00
dreis2211
26a22fa523
Test the Gradle Plugin against Gradle 5.6.1
...
See gh-17984
Closes gh-17984
2019-08-29 12:46:26 +01:00
Stephane Nicoll
b57db504df
Fix broken build due to Kotlin upgrade
2019-08-29 10:01:16 +02:00
Andy Wilkinson
a785a5b58a
Test the Gradle Plugin against Gradle 5.6
...
Closes gh-17883
2019-08-16 08:46:48 +01:00
dreis2211
56940fca97
Test the Gradle Plugin against Gradle 5.6
...
See gh-17876
2019-08-16 08:45:33 +01:00
SaberXu
c6c3a91f8d
Simplify if statements
...
See gh-17785
2019-08-08 14:32:37 +02:00
Stephane Nicoll
5926547767
Merge branch '2.1.x'
...
Closes gh-17745
2019-07-31 15:15:21 +02:00
Stephane Nicoll
0c560795fd
Harmonize settings.gradle documentation in Gradle getting started guide
...
See gh-17736
2019-07-31 15:11:53 +02:00
Dave Syer
e7b0450a7f
Add missing repositories to snapshot configuration
...
See gh-17736
2019-07-31 15:00:07 +02:00
Phillip Webb
8bc780762a
Merge branch '2.1.x'
2019-07-24 11:42:48 +01:00
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
2019-07-24 11:41:32 +01:00
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
2019-07-24 11:39:58 +01:00
Phillip Webb
30b5ba87ae
Merge branch '2.0.x' into 2.1.x
2019-07-17 21:48:01 +01:00
Phillip Webb
01933f9b06
Merge previously split strings
...
Merge some string lines that were previously split because of the
90 chars wide formatting.
2019-07-15 00:24:19 +01:00
Stephane Nicoll
79b29396d0
Merge branch '2.1.x'
...
Closes gh-17506
2019-07-14 13:14:21 +02:00
dreis2211
e9203a280c
Test the Gradle Plugin against Gradle 5.5.1
...
See gh-17496
2019-07-14 13:13:17 +02:00
Andy Wilkinson
2816635418
Polish
2019-07-04 17:51:20 +01:00
Andy Wilkinson
aa01bd3890
Polish "Polish GradleCompatibilityExtension's javadoc"
...
See gh-17411
2019-07-04 10:18:18 +01:00
dreis2211
dc4cc214fe
Polish GradleCompatibilityExtension's javadoc
...
See gh-17411
2019-07-04 10:13:17 +01:00
Andy Wilkinson
9d5fa98334
Merge branch '2.1.x'
...
Closes gh-17429
2019-07-04 10:07:40 +01:00
Andy Wilkinson
7553b60e68
Test the Gradle Plugin against Gradle 5.5
...
Closes gh-17428
2019-07-04 10:05:57 +01:00
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
2019-07-03 11:39:47 -07:00
Phillip Webb
605599138e
Merge branch '2.1.x'
2019-06-28 23:56:02 -07:00
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
2019-06-28 23:42:28 -07:00
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
2019-06-28 23:28:34 -07:00
Stephane Nicoll
e560b7f6ba
Remove public modifier on JUnit5 lifecycle methods
...
See gh-17292
2019-06-21 18:09:05 +02:00
Phillip Webb
2c2b962204
Merge branch '2.1.x'
...
Closes gh-17232
2019-06-17 15:54:51 -07:00
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
2019-06-17 15:48:14 -07:00
Johnny Lim
368c0eebe4
Fix typo
...
See gh-17132
2019-06-16 11:42:00 +02:00
Phillip Webb
b3d5cd538d
Add JUnit 5 checkstyle rules
...
Add a rule to enforce JUnit 5 usage and conventions.
Closes gh-17093
2019-06-10 16:16:45 -07:00
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
2019-06-07 12:25:54 +01:00
Andy Wilkinson
aef92b9295
Merge branch '2.1.x'
...
Closes gh-17079
2019-06-07 11:00:44 +01:00
Andy Wilkinson
24925c3dae
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17078
2019-06-07 10:50:34 +01:00
Andy Wilkinson
c6c139d980
Merge branch '1.5.x' into 2.0.x
2019-06-07 10:46:31 +01:00
Phillip Webb
ad5e905bd7
Update copyright header of changed files
2019-05-30 11:30:43 -07:00
dreis2211
e59d734098
Fix Gradle plugin code formatting
...
See gh-16984
2019-05-28 18:10:04 +01:00
Andy Wilkinson
c80218064f
Use sorted properties to make build info output repeatable
...
Closes gh-14494
2019-05-28 16:30:36 +01:00
Andy Wilkinson
54b123028c
Default to optimized launch of the JVM when using Gradle's bootRun
...
Closes gh-16222
2019-05-25 09:29:52 +01:00
Andy Wilkinson
babb94c791
Migrate spring-boot-gradle-plugin's tests to JUnit 5
...
Closes gh-16959
2019-05-24 20:17:34 +01:00
Andy Wilkinson
f35b91a172
Raise minimum supported version of Gradle to 4.10 and encourage use of 5.x
...
Closes gh-16681
2019-05-03 13:07:15 +01:00
Andy Wilkinson
538030b57e
Merge branch '2.1.x'
...
Closes gh-16693
2019-05-01 11:20:56 +01:00
Andy Wilkinson
881fbeff43
Test the Gradle Plugin against Gradle 5.4.1
...
Closes gh-16576
2019-05-01 10:47:35 +01:00
Andy Wilkinson
7d2a99943f
Merge branch '2.1.x'
2019-04-17 09:26:28 +01:00
Andy Wilkinson
dfbc787737
Test the Gradle plugin against Gradle 5.4
...
Closes gh-16576
2019-04-17 09:25:28 +01:00
Andy Wilkinson
9d1f584560
Adapt Gradle plugin tests to change in Kotlin's packaging
...
Closes gh-16554
2019-04-15 12:36:58 +01:00
Stephane Nicoll
c4b1a22e89
Polish "Add Spring-specific styling to Gradle Plugin's documentation"
...
Closes gh-16327
2019-04-02 16:49:11 +02:00
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
2019-04-02 16:38:50 +02:00
Andy Wilkinson
c5024f21a4
Merge branch '2.1.x'
2019-04-02 14:40:35 +01:00
Andy Wilkinson
6aa4fe579a
Polish
...
See gh-16068
2019-04-02 14:40:18 +01:00
Andy Wilkinson
ac4d6bb10f
Merge branch '2.1.x'
2019-04-02 10:27:45 +01:00
Andy Wilkinson
db4623c519
Merge branch '2.0.x' into 2.1.x
2019-04-02 10:27:34 +01:00
Andy Wilkinson
7b5f46d6e3
Add Spring-Boot-* manifest attributes to jars and wars built with Gradle
...
Closes gh-16068
2019-04-02 10:13:09 +01:00
Stephane Nicoll
17a800b577
Merge branch '2.1.x'
2019-03-29 10:51:44 +01:00
Stephane Nicoll
62d9c0a8b3
Test against Gradle 5.3.1
2019-03-29 10:51:31 +01:00
Spring Operator
fb242c27d2
Use HTTPS for external links wherever possible
...
See gh-16276
2019-03-28 12:07:01 +00:00
Stephane Nicoll
90160b16aa
Merge branch '2.1.x'
2019-03-25 10:20:52 +01:00
dreis2211
c2335e130c
Test against Gradle 5.3
...
Closes gh-16294
2019-03-25 10:19:57 +01:00
Andy Wilkinson
36c1c051b8
Merge branch '2.1.x'
2019-03-20 16:55:10 +00:00
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
2019-03-20 16:53:48 +00:00
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
2019-03-20 16:45:26 +00:00
Andy Wilkinson
daba01ab94
Merge branch '2.1.x'
2019-03-19 12:37:04 +00:00
Andy Wilkinson
716b4e8acf
Test the Gradle plugin against Gradle 5.3-rc-3
...
Closes gh-16211
2019-03-19 12:36:14 +00:00
Phillip Webb
64a2e8d67f
Update copyright year for changed files
2019-03-11 22:15:36 -07:00
Phillip Webb
dd3e8154d9
Merge branch '2.1.x'
2019-03-11 22:15:19 -07:00
Phillip Webb
fc3aa43cc2
Update copyright year for changed files
2019-03-11 22:14:53 -07:00
Andy Wilkinson
404f5d33f3
Align Gradle plugin's tests with Kotlin 1.3's restructuring
...
See gh-16195
2019-03-11 21:21:18 +00:00
Andy Wilkinson
f2e3e274a8
Merge branch '2.1.x'
2019-02-21 08:19:43 +00:00
Andy Wilkinson
53326695ea
Polish
2019-02-21 08:13:54 +00:00
Andy Wilkinson
f4bd0b8b4b
Merge branch '2.1.x'
2019-02-20 18:18:06 +00:00
Andy Wilkinson
59430a2642
Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
...
Closes gh-16001
2019-02-20 18:15:27 +00:00
Andy Wilkinson
2cda30988e
Merge branch '2.1.x'
2019-02-11 16:00:55 +00:00
Andy Wilkinson
6fe9e3a0e1
Test the Gradle plugin against Gradle 5.2.1
...
Closes gh-15892
2019-02-11 15:51:14 +00:00
Andy Wilkinson
4faa0f51b7
Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
...
Closes gh-15791
2019-02-11 15:49:59 +00:00
dreis2211
1de372d896
Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
...
See gh-15791
2019-02-11 15:35:06 +00:00
Andy Wilkinson
342bced125
Merge branch '2.1.x'
2019-02-01 13:48:02 +00:00
Andy Wilkinson
2650a07dc9
Leave module-info.class in root of archive when repackaging
...
Closes gh-15810
2019-02-01 13:47:42 +00:00
igor-suhorukov
59ac85d371
Avoid string concatenation inside StringBuilder append()
...
See gh-15589
2019-01-11 08:28:19 +01:00
Andy Wilkinson
372b6605b3
Merge branch '2.1.x'
2018-12-21 15:32:31 +00:00
Andy Wilkinson
83ce5dcee8
Add missing task output annotations to BootJar and BootWar
...
Closes gh-15488
2018-12-21 15:32:04 +00:00
Andy Wilkinson
0ad72d5b5e
Remove reliance on mavenLocal from Gradle plugin’s tests
...
See gh-15471
2018-12-18 11:41:51 +00:00
Andy Wilkinson
4edc32844a
Remove use of execute method inherited from internal class
...
Closes gh-15484
2018-12-17 17:33:20 +00:00
Phillip Webb
ed9468a31a
Update copyright year for changed files
2018-11-29 22:02:45 -08:00
Andy Wilkinson
a0d0ecf9d4
Test the Gradle plugin against Gradle 5.0
...
Closes gh-15171
2018-11-26 16:02:54 +00:00
Andy Wilkinson
7790876575
Merge branch '2.0.x'
2018-11-23 14:01:12 +00:00
Andy Wilkinson
c0e286b96b
Test the Gradle Plugin against Gradle 5.0-rc-3
...
Closes gh-15171
2018-11-23 13:47:19 +00:00
Andy Wilkinson
ce0a3d0311
Add missing classpath setters to BootJar and BootWar
...
Closes gh-15087
2018-11-23 13:46:56 +00:00
Andy Wilkinson
fe9d9ec4e2
Test the Gradle plugin against Gradle 5.0-rc-3
...
Closes gh-15171
2018-11-15 10:32:34 +00:00
Andy Wilkinson
228e05487a
Test Gradle Plugin against Gradle 5.0-rc-1
...
Closes gh-15028
2018-10-31 09:47:49 +00:00
Andy Wilkinson
5ac9b972fe
Test the Gradle Plugin against Gradle 5.0-milestone-1
...
Closes gh-15005
2018-10-29 15:15:00 +00:00
Andy Wilkinson
77f571aa45
Merge branch '2.0.x'
2018-10-29 13:12:53 +00:00
Andy Wilkinson
7eb1df1650
Test the Gradle Plugin against Gradle 4.10.2
...
Closes gh-15004
2018-10-29 13:11:41 +00:00
Brian Clozel
cf882c9b40
Fix import error in 8376bc369
2018-10-25 12:52:25 +02:00
Brian Clozel
8376bc3697
Fix build after checkstyle imports updates
...
See gh-14911
2018-10-25 11:25:56 +02:00
Andy Wilkinson
9b8ead825c
Polish
2018-10-18 15:38:06 +01:00
Andy Wilkinson
3f1b3db25a
Merge branch '2.0.x'
2018-10-08 15:07:28 +01:00
Andy Wilkinson
1f34da9025
Document application plugin's need for mainClassName to be set
...
Closes gh-14250
2018-10-08 15:06:37 +01:00
Phillip Webb
01b8667dd7
Update copyright year for changed files
2018-10-05 13:40:07 -07:00
Andy Wilkinson
a3d2f3f594
Polish "Add Kotlin DSL examples to Gradle Plugin's documentation"
...
Closes gh-14585
2018-10-05 10:41:13 +01:00
jnizet
5ed6c0d1ab
Add Kotlin DSL examples to Gradle Plugin's documentation
...
See gh-14585
2018-10-05 10:41:13 +01:00
Andy Wilkinson
8c6910cf58
Polish "Refactor Gradle plugin tests to use runner's plugin classpath"
...
This commit removes the need for the Kotlin plugin tests to continue
to set the plugin classpath in each test build script. This is
achieved by adding the jars files containing the Kotlin plugin and
its dependencies to the runner's plugin classpath in the same way as
was already done for the dependency management plugin.
Closes gh-14680
2018-10-04 17:27:26 +01:00
jnizet
c51449585e
Refactor Gradle plugin tests to use runner's plugin classpath
...
Previously, each test build script used a property to configure its
classpath. This commit simplifies the tests by setting the classpath
once on the GradleRunner, thereby removing the need for it to be set in
each test script. It also allows, and, in fact, requires, the use of
the plugins block to apply the Boot plugin under test.
Unfortunately, this doesn't work for the tests for the reaction to the
Kotlin plugin. See the comments in the GradleBuild class and in each
KotlingPluginActionIntegrationTests build script.
See gh-14680
2018-10-04 17:26:42 +01:00
Andy Wilkinson
76849c12e5
Merge branch '2.0.x'
2018-10-04 15:56:11 +01:00
Andy Wilkinson
cf24d18139
Explicity set permissions on files in lib of Boot distribution
...
Previously, only the permissions for the scripts in bin/ were set. The
permissions for the files in lib/ were not explicity set, leaving them
with the same permissions as the source files in Gradle's cache. This
has proven to be a little brittle when building in certain
environments, leading to test failures. It also assumes that the
file permissions in Gradle's cache will be appropriate for entries in
a distribution archive. That may not always be a reasonable assumption
to make.
To avoid the above-described problems, this commit updates the copy
spec that's used to add files to lib/ in the archive so that each
file uses 0644 for its permissions.
Closes gh-14158
2018-10-04 15:55:48 +01:00
Andy Wilkinson
285f6bfd5f
Merge branch '2.0.x'
2018-09-27 06:59:37 -04:00
jnizet
eee07a840f
Move away from deprecated Gradle configurations
...
Closes gh-14593
2018-09-27 06:58:31 -04:00
Andy Wilkinson
c1b864c826
Polish
2018-09-18 11:18:28 +01:00
durigon
7aaeefbc0e
Use Matcher from pre-compiled Pattern rather than String for replaceAll
...
Closes gh-14483
2018-09-17 10:54:54 +01:00
Andy Wilkinson
a2cf2cd87f
Raise the minimum supported version of Gradle to 4.4
...
Closes gh-14418
2018-09-12 17:06:03 +01:00
Andy Wilkinson
ae4e1d0372
Test the Gradle plugin against Gradle 4.10
...
Closes gh-14417
2018-09-12 12:57:27 +01:00
Andy Wilkinson
630e2d0b41
Correct the permissions of scripts in archives of boot distribution
...
Closes gh-14158
2018-09-12 12:57:27 +01:00
Andy Wilkinson
e4b9316613
Merge branch '2.0.x'
2018-09-11 20:33:40 +01:00
Andy Wilkinson
78464f999f
Test the Gradle plugin against Gradle 4.10
...
Closes gh-14417
2018-09-11 20:33:26 +01:00
Andy Wilkinson
6041bc5bb0
Correct the permissions of scripts in archives of boot distribution
...
Closes gh-14158
2018-09-11 20:32:18 +01:00
Andy Wilkinson
ad4179cc43
Merge branch '2.0.x'
2018-09-06 16:38:55 +01:00
Andy Wilkinson
6c865f9b43
Polish
...
See gh-1176
2018-09-06 16:38:27 +01:00
Andy Wilkinson
79a964e563
Merge branch '2.0.x'
2018-09-06 13:11:50 +01:00
Andy Wilkinson
53372d5fd7
Document the use of --args to pass arguments to bootRun
...
Closes gh-1176
2018-09-06 13:08:40 +01:00
Phillip Webb
9d1b3a2b49
Merge branch '2.0.x'
2018-09-04 16:25:17 -07:00
Phillip Webb
9af6b3422f
Polish
2018-09-04 16:18:47 -07:00
Andy Wilkinson
e3e3a44045
Merge branch '2.0.x'
2018-08-14 12:33:11 +01:00
Andy Wilkinson
1973e342c9
Do not use lambda for task action as it breaks up-to-date checks
...
Due to gradle/gradle#5510 , using a lambda for a task action breaks
up-to-date checks in certain circumstances.
This commit updates JavaPluginAction to use an inner-class in place
of a lambda for the action that it adds to JavaCompile tasks. A test
has not been added as it does not appear to be possible to reproduce
it with a TestKit-based test.
Closes gh-14054
2018-08-14 12:32:36 +01:00
Phillip Webb
a6c9c92f2e
Merge branch '2.0.x'
2018-07-28 01:35:43 +01:00
Phillip Webb
63b609827e
Fix checkstyle method order issues
...
Fix checkstyle issues with method ordering following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:53 +01:00
Phillip Webb
7fc455654a
Fix checkstyle ternary issues
...
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.
See gh-13932
2018-07-28 01:11:52 +01:00
Phillip Webb
cddd794a07
Polish
2018-07-28 00:05:25 +01:00
Andy Wilkinson
147a08eb4c
Merge branch '2.0.x'
2018-07-18 13:47:31 +01:00
Andy Wilkinson
b9ad0d9992
Test the Gradle plugin against Gradle 4.8.1 instead of 4.8
...
Closes gh-13809
2018-07-18 13:34:27 +01:00
Andy Wilkinson
8deea933b9
Test the Gradle plugin against Gradle 4.9
...
Closes gh-13808
2018-07-18 13:33:39 +01:00
Andy Wilkinson
a097f923c1
Provide sensible defaults for launch script properties when using Gradle
...
Closes gh-4458
2018-06-22 13:08:44 +01:00
Andy Wilkinson
6f2171c282
Improve error message when BootJar or BootWar has no known main class
...
Closes gh-12712
2018-06-08 18:07:24 +01:00
Andy Wilkinson
70c0d6a005
Test the Gradle plugin against Gradle 4.8
...
Closes gh-13359
2018-06-04 17:53:34 +01:00
Andy Wilkinson
00449bef6a
Use app…DefaultJvmArgs as convention for start script's defaultJvmOpts
...
Closes gh-12631
2018-06-04 17:53:34 +01:00
Andy Wilkinson
d54072e0a8
More accurately document buildInfo's effect on up-to-date checking
...
Closes gh-13152
2018-06-04 16:39:59 +01:00