1
0
Fork 0
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:
Cedric Beust 2016-01-12 01:58:26 +04:00
parent f7be0ef52b
commit 228a3c1441

View file

@ -56,6 +56,12 @@ class WarGenerator @Inject constructor(val dependencyManager: DependencyManager)
} }
result.add(IncludedFile(From(fullDir), To(WEB_INF), listOf(IFileSpec.GlobSpec("**")))) 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 return result
} }