parent
0768402d49
commit
772df9bea7
|
@ -25,6 +25,10 @@ apply plugin: 'spring-boot'
|
|||
|
||||
mainClassName = "sample.ui.SampleWebUiApplication"
|
||||
|
||||
springBoot {
|
||||
classifier = 'exec'
|
||||
}
|
||||
|
||||
jar {
|
||||
baseName = 'spring-boot-sample-web-ui'
|
||||
version = '0.0.0'
|
||||
|
|
|
@ -93,6 +93,7 @@ public class RepackagePluginFeatures implements PluginFeatures {
|
|||
File file = archive.getArchivePath();
|
||||
String classifier = this.task.getClassifier();
|
||||
if (classifier != null) {
|
||||
this.task.getInputs().file(archive);
|
||||
String withClassifer = file.getName();
|
||||
withClassifer = StringUtils.stripFilenameExtension(withClassifer)
|
||||
+ "-" + classifier + "."
|
||||
|
|
Loading…
Reference in New Issue