Create a new ImagePackager tools class

Pull functionality from `Repackager` into a new `Packager` base class
and develop a variant for Docker image creation. The new `ImagePackager`
class provides a general purpose way to construct jar entries without
being tied to an actual file. This will allow us to link it to a
buildpack and provide application content directly.

Closes gh-19834
This commit is contained in:
Phillip Webb
2020-01-20 15:43:12 -08:00
parent aa1954717c
commit 16e6bc89ed
14 changed files with 2140 additions and 1522 deletions

View File

@@ -16,11 +16,10 @@ configurations {
dependencies {
api platform(project(':spring-boot-project:spring-boot-parent'))
api "org.apache.commons:commons-compress"
api "org.springframework:spring-core"
compileOnly "ch.qos.logback:logback-classic"
implementation "org.springframework:spring-core"
loader project(":spring-boot-project:spring-boot-tools:spring-boot-loader")
testImplementation "org.assertj:assertj-core"