forked from openMF/community-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
36 lines (31 loc) · 882 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
apply plugin:"war"
apply plugin:"maven"
war {
// 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"
}
war.doFirst {
exec {
commandLine 'bower', 'install'
}
}
install {
repositories.mavenInstaller {
pom.groupId = 'org.mifosplatform.angularui'
pom.artifactId = 'community-app'
pom.version = '1.0.0-SNAPSHOT'
}
}