Skip to content

Commit

Permalink
Fixes Grace views not included with War
Browse files Browse the repository at this point in the history
Closes gh-27
  • Loading branch information
rainboyan committed Oct 15, 2024
2 parents b629a3c + 28f9a4a commit cd96c72
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ class AbstractGroovyTemplatePlugin implements Plugin<Project> {

allTasks.withType(War) { War war ->
war.dependsOn templateCompileTask
if (war.classpath) {
war.classpath = war.classpath + project.files(destDir)
}
else {
war.classpath = project.files(destDir)
}
}
allTasks.withType(Jar) { Jar jar ->
if(!(jar instanceof War)) {
Expand Down

0 comments on commit cd96c72

Please sign in to comment.