mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Fix war{} includes/excludes.
This commit is contained in:
parent
f7be0ef52b
commit
228a3c1441
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@ class WarGenerator @Inject constructor(val dependencyManager: DependencyManager)
|
|||
}
|
||||
|
||||
result.add(IncludedFile(From(fullDir), To(WEB_INF), listOf(IFileSpec.GlobSpec("**"))))
|
||||
|
||||
//
|
||||
// Finally, all the included/excluded files specified in the war{} directive
|
||||
//
|
||||
result.addAll(PackagingPlugin.findIncludedFiles(project.directory, war.includedFiles, war.excludes))
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue