mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 13:51:55 +00:00
Fixed 'gradle clean build' build/libs/community-app.war, due to https://github.com/openMF/community-app/issues/201
This commit is contained in:
parent
f19c9a9014
commit
1a0f8e7c0f
18
build.gradle
18
build.gradle
@ -1,6 +1,20 @@
|
||||
apply plugin:"war"
|
||||
|
||||
war {
|
||||
// webAppDirName = "app"
|
||||
from "app"
|
||||
// TODO This, for now, really *SHOULD* normally be:
|
||||
// from "app"
|
||||
// but, because of pending https://github.com/openMF/community-app/issues/201
|
||||
// we unfortunately need to package the entiry project (and then access /app), so:
|
||||
from "."
|
||||
exclude "build/**"
|
||||
exclude "node_modules"
|
||||
exclude "dist"
|
||||
exclude ".settings"
|
||||
exclude ".gradle"
|
||||
exclude "app/WEB-INF/"
|
||||
webInf { from 'app/WEB-INF' }
|
||||
|
||||
// TODO Later, when the Grunt-based minification etc. works,
|
||||
// this will instead have to package the result of that (and kick of Grunt, from Gradle):
|
||||
// from "dist"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user