Commit Graph

1145 Commits (bd27d147d7441990a54367250d62abb8a21a61af)

Author SHA1 Message Date
Andy Wilkinson a2f791287f Disable the use of Gradle's daemon when running compatility tests 7 years ago
Andy Wilkinson 1b1c9d06f4 Update Gradle compatibility versions to cover 4.0.1 and 4.1-rc-1
Closes gh-9598
7 years ago
Eddú Meléndez 9910eab47c Update Gradle versions to check compatibility with 3.5.1, 4.0, 4.1 M1
See gh-9598
7 years ago
Phillip Webb 8e3baf3130 Polish 7 years ago
Stephane Nicoll 3ba6954b02 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 11fb792e88 Fix source repository links in maven plugin site
Closes gh-9671
7 years ago
Phillip Webb eb17aa06f9 Merge branch '1.5.x' 7 years ago
Phillip Webb aa57ca7e18 Polish 7 years ago
Andy Wilkinson 216c5c2179 Set executable permission on Gradle-built archives that include launch script
Closes gh-9632
7 years ago
Andy Wilkinson c59214792b Verify that bootJar and bootWar handle duplicates gracefully
Closes gh-9573
8 years ago
Andy Wilkinson f0b7e7cf56 Ensure that fat jars and wars do not corrupt UTF-8 entry names
Previously, both Repackager and the Grade plugin used the JRE's
standard ZipOutputStream when creating a fat jar or war file. This
resulted in entry names that needed UTF-8 encoding to become
corrupted.

This commit updates both to use Commons Compress'
ZipArchiveOutputStream and to configure the stream's encoding and
each entry's Unix mode. This ensures that names are encoded using
UTF-8 and can be read back in correctly by common zip tools.

Closes gh-9405
8 years ago
Stephane Nicoll 235daf839f Merge branch '1.5.x' 8 years ago
Stephane Nicoll d77056639d Add a warning about fully executable archive
Closes gh-9574
8 years ago
Stephane Nicoll e230952dd2 Polish "Add prefix to all properties in maven plugin"
Closes gh-9567
8 years ago
Eddú Meléndez 4510be0f8f Add prefix to all properties in maven plugin
This commit add prefix `spring-boot` to all Mojo's properties.

See gh-9567
8 years ago
Andy Wilkinson e6a3ca5da6 Address deprecation warning that's generated by Gradle 4.x
In Gradle 4.x, SourceSetOutput now has multiple classes directories
and getClassesDir() has been deprecated. This commit introduces the
use of reflection to use getClassesDirs() when it's available rather
than getClassesDir().

Closes gh-9559
8 years ago
Stephane Nicoll cabe59d65a Remove animal sniffer
See gh-9564
8 years ago
Andy Wilkinson 49a62a7c33 Correct the scope of the spring-boot-test-support dependency
Closes gh-9550
8 years ago
Andy Wilkinson 991314c63d Merge branch '1.5.x' 8 years ago
Andy Wilkinson 59122358d3 Clean up and format code 8 years ago
Stephane Nicoll dbabfc224c Add support for Lettuce in RedisTestServer
Previously, RedisTestServer only supported Jedis and would blow up if
only Lettuce was on the classpath. This commit defensively checks which
driver is available and chose the appropriate one, defaulting to Jedis.

Closes gh-9524
8 years ago
Stephane Nicoll 81efd225f9 Merge branch '1.5.x' 8 years ago
Stephane Nicoll acda4f905f Add support for deprecation level
This commit ensures that deprecation level set in manual metadata is
properly merged in the generated one.

Closes gh-9449
8 years ago
Phillip Webb b94bb00fa1 Remove need for attached test-jar artifacts
Remove test-jar artifacts from Maven projects and relocate classes. The
majority of utilities now live in the `spring-boot-testsupport` module.

This update will help us to deploy artifacts using the standard Maven
deploy plugin in the future (which doesn't support the filtering of
individual artifacts).

Fixes gh-9493
8 years ago
Andy Wilkinson 700af8ed00 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 2d3bcae4e1 Make JarURLConnection return entry's length from getContentLengthLong()
Closes gh-9484
8 years ago
Spring Buildmaster 05d4d0281c Next Development Version 8 years ago
Phillip Webb 2c7dd9f519 Polish 8 years ago
Andy Wilkinson 7301f9b5e8 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 5c708ae712 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 5b4f9edc86 Restore original TCCL in PropertiesLauncherTests
Calling launch of PropertiesLauncherTests sets the thread context
class loader to an instance of LaunchedURLClassLoader. To avoid this
class loader being used beyond the scope of the test and launcher
that created it, this commit updates PropertiesLauncherTests to
capture the TCCL before each test and restore it after each test.

Closes gh-9378
8 years ago
Andy Wilkinson 2928a31278 Merge branch '1.5.x' 8 years ago
Andy Wilkinson c22230a418 Try making FilePool static to fix the Mockito problem on Bamboo 8 years ago
Andy Wilkinson 8e2986c86e Fix call to isSpy to be compatible with Mockito 2 8 years ago
Andy Wilkinson b85eed4b58 Polish 8 years ago
Andy Wilkinson bcd34bca6f Merge branch '1.5.x' 8 years ago
Andy Wilkinson e11b7aff08 Ensure that file is released back to pool when seek fails
Closes gh-9370
8 years ago
Andy Wilkinson 4a605f6270 Drop custom software component in favor of just publishing an artifact
Previously, Spring Boot's Gradle plugin provided custom software
components (bootJava and bootWeb) for publishing the artifacts created
by the standard bootJar and bootWar tasks respectively. Providing a
custom software component requires the usage of some of Gradle's
internal APIs and this has now proven to be more trouble than it is
worth.

This commit removes the custom software component and documents how
to publish the artifact created by a BootJar or BootWar task directly
instead.

Closes gh-9153
8 years ago
Andy Wilkinson a685d9ec92 Run Gradle integration tests against multiple versions of Gradle
Closes gh-9365
8 years ago
Andy Wilkinson 5f3462f358 Use ObjectFactory rather than Usages to create Usage on Gradle 4.0
Usages has been removed in Gradle 4.0 and replaced with the use of
a new ObjectFactory API that can be used to create a Usage. This
commit uses reflection to access the ObjectFactory from the Project
and use it to create a Usage when an attempt to use Usages fails.

Closes gh-9364
8 years ago
Stephane Nicoll e8aa3a3a8e Upgrade to Maven War Plugin 3.1.0
Closes gh-9344
8 years ago
Stephane Nicoll 294bcbe962 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 9b2ad6100e Fix reference of custom layout example
Closes gh-9342
8 years ago
Johnny Lim 6939ff1e65 Polish
Closes gh-9330
8 years ago
Andy Wilkinson 6c3a27dadf Merge branch '1.5.x' 8 years ago
Andy Wilkinson f7127e5522 Ensure that closing a JarFile closes all underlying resources
Closes gh-8871
8 years ago
Andy Wilkinson d5438c299c Polish "Use try-with-resources to close resources automatically"
- Apply code formatting
- Use try-with-resources in many other places that were missed in the
  pull request

Closes gh-8045
8 years ago
Phillip Webb 302f038e84 Polish 8 years ago
Phillip Webb f4444a36b3 Merge branch '1.5.x' 8 years ago
Phillip Webb 74f411faed Formatting 8 years ago