Leave jar and war tasks enabled but configured with a classifier

Closes gh-23797
This commit is contained in:
Andy Wilkinson
2021-03-16 10:25:16 +00:00
parent 3f2a069e71
commit ebdb046ca9
15 changed files with 99 additions and 89 deletions

View File

@@ -1,13 +0,0 @@
plugins {
id 'java'
id 'org.springframework.boot' version '{version}'
}
bootJar {
mainClass = 'com.example.Application'
classifier = 'boot'
}
jar {
enabled = true
}

View File

@@ -1,13 +0,0 @@
plugins {
id 'war'
id 'org.springframework.boot' version '{version}'
}
bootWar {
mainClass = 'com.example.Application'
classifier = 'boot'
}
war {
enabled = true
}