Peter Ledbrook shared a neat way of removing runtime dependency in the grails built war file. If for e.g. we wanted to exclude hsqldb
grails.project.dependency.resolution = {
inherits("global") {
if (Environment.current == Environment.PRODUCTION) {
exclude "hsqldb"
}
}
...
}
No comments:
Post a Comment