Switched to explicit doLast to put the right version on cache buster
fixes
@@ -74,7 +74,8 @@ task npmBuild(type: NpmTask) {
args = ['run', 'build']
}
-task customizeSwaggerUi << {
+task customizeSwaggerUi {
+ doLast {
copy {
from("${projectDir}/src/web/dist/springfox.js")
into("${buildDir}/${swaggerUiExplodedDir}")
@@ -95,6 +96,7 @@ task customizeSwaggerUi << {
delete "${buildDir}/${swaggerUiExplodedDir}/index.html"
delete "${buildDir}/${swaggerUiExplodedDir}/swagger-ui.js"
}
+}
jar {
from("${buildDir}/swagger-ui-${swaggerUiVersion}/swagger-ui.html") {
