Commit Graph

28 Commits

Author SHA1 Message Date
Nelson Osacky
087744e027 Upgrade to Gradle Enterprise Gradle Plugin 3.6.1
See gh-25951
2021-04-09 14:42:23 +01:00
dreis2211
4bb86d4d8d Upgrade to Gradle Enterprise Gradle Plugin 3.5.2
See gh-25120
2021-02-09 15:24:08 +01:00
Nelson Osacky
74ffc3e0fa Upgrade to Gradle Enterprise Gradle Plugin 3.5.1
See gh-24767
2021-01-12 14:30:47 +00:00
Phillip Webb
c4e41305d5 Prevent Tomcat URL "reflective access" warnings
Update the jar `Handler` class to support a non-reflective fallback
mechanism when possible. The updated code attempts to capture a regular
jar URL before our handler is installed. It can then use that URL as
context when creating the a fallback URL. The JDK jar `Handler` will
be copied from the context URL to the fallback URL.

Without this commit, resolving new Tomcat URLs of the form
`jar:war:file:...` would result in an ugly "Illegal reflective access"
warning.

Fixes gh-18631
2020-12-17 20:43:41 -08:00
Andy Wilkinson
14b15027af Correct the ID of the GE conventions plugin
See gh-24178
2020-11-17 14:38:54 +00:00
Andy Wilkinson
23852aa06f Upgrade to Gradle Enterprise Gradle Plugin 3.5
Closes gh-24177
2020-11-17 14:31:43 +00:00
Andy Wilkinson
666e9e1aa6 Merge branch '2.2.x' into 2.3.x
Closes gh-24178
2020-11-17 14:28:46 +00:00
dreis2211
0f6767f274 Polish Slack notification when no build scan was published
See gh-21673
2020-06-03 18:46:58 +01:00
Andy Wilkinson
9bfb088931 Upgrade to Gradle Enterprise Plugin 3.3.3
Closes gh-21675
2020-06-03 17:47:35 +01:00
Andy Wilkinson
23b329be07 Upgrade to Gradle Enterprise Conventions Plugin 0.0.3
Closes gh-21674
2020-06-03 17:27:14 +01:00
Scott Frederick
9aae072872 Add build scan URI to Slack notifications from CI
Fixes gh-19703
2020-04-09 16:02:12 -05:00
Andy Wilkinson
d8f218d863 Upgrade to Gradle Enterprise Plugin 3.2
Closes gh-20677
2020-03-25 20:41:54 +00:00
Andy Wilkinson
8f44bd89f4 Polish "Allow Gradle tasks to be executed with a custom Java home"
See gh-20179
2020-02-25 15:53:45 +00:00
Andy Wilkinson
6abd4f0737 Upgrade to Gradle Enterprise Conventions Plugin 0.0.2
Closes gh-20034
2020-02-05 16:25:28 +00:00
Andy Wilkinson
ea5dfdec92 Switch to latest snapshots of the GE conventions plugin
See gh-20034
2020-02-04 20:03:22 +00:00
Andy Wilkinson
35991d5eab Adopt Gradle Enterprise Conventions Plugin
Closes gh-20033
2020-02-04 11:24:40 +00:00
Andy Wilkinson
820c671ddd Configure repositories based on the version that is being built
https://repo.spring.io/snapshot should only be available when
building a BUILD-SNAPSHOT. https://repo.spring.io/milestone should
only be available when not building a RELEASE (a BUILD-SNAPSHOT, Mn,
or RCn).

Closes gh-19700
2020-01-23 11:55:42 +00:00
Phillip Webb
71ce212f7f Rename spring-boot-layertools
Rename `spring-boot-layertools` to `spring-boot-jarmode-layertools`.

Closes gh-19853
2020-01-22 20:24:23 -08:00
Phillip Webb
0209cd3e4c Polish quote form used in Gradle scripts
Replace Gradle single quote strings with the double quote form
whenever possible. The change helps to being consistency to the
dependencies section where mostly single quotes were used, but
occasionally double quotes were required due to `${}` references.
2020-01-22 15:49:52 -08:00
Phillip Webb
e28338d6cd Rename spring-boot-cloudnativebuildpack
Rename the `spring-boot-cloudnativebuildpack` module to
`spring-boot-buildpack-platform` and update the the package
name to `org.springframework.boot.buildpack.platform`.

Closes gh-19851
2020-01-22 11:01:32 -08:00
Phillip Webb
e513fe4666 Add layertools jarmode
Add a new `spring-boot-layertools` module which provides jarmode support
for working with layers. The module works with both classic fat jars,
as well as layered jars.

Closes gh-19849
2020-01-22 01:26:55 -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
Phillip Webb
aa1954717c Add cloud native buildpack module
Add a Java implementation of the buildpacks.io specification allowing
projects to be packaged into OCI containers. The `builder` class
provides a Java equivalent of `pack build` command and is based on
the `pack` CLI Go code published at https://github.com/buildpacks/pack.

Closes gh-19828
2020-01-20 23:48:47 -08:00
Andy Wilkinson
f06af5a79b Only attempt to publish a build scan when we can authenticate 2020-01-16 10:06:16 +00:00
Andy Wilkinson
ce7f501cf9 Revert "Publish a build scan only when authenticated"
publishIfAuthenticated() does not appear to work as intended as it
disables publishing even when authenticated.
2020-01-15 20:31:52 +00:00
Andy Wilkinson
8d6ead223f Publish a build scan only when authenticated 2020-01-15 20:14:41 +00:00
Vedran Pavic
57b7dfc730 Simplify Gradle's build settings
See gh-19619
2020-01-10 20:47:33 +00:00
Andy Wilkinson
ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00