Add command-line options for Gradle bootBuildImage parameters
This commit adds support for setting the image name and builder parameters of the Gradle bootBuildImage task using command-line options as an alternative to DSL configuration. See gh-20520
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '{version}'
|
||||
}
|
||||
|
||||
sourceCompatibility = '1.8'
|
||||
targetCompatibility = '1.8'
|
||||
|
||||
bootBuildImage {
|
||||
imageName = "example.com/test-image-name"
|
||||
}
|
||||
Reference in New Issue
Block a user