1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Copy the war resources to WEB-INF/classes.

This commit is contained in:
Cedric Beust 2016-02-16 07:09:49 -08:00
parent 7ac6b27ecc
commit 8e2a17c3df

View file

@ -64,7 +64,7 @@ class WarGenerator @Inject constructor(val dependencyManager: DependencyManager)
// The resources
//
context.variant.resourceDirectories(project).forEach {
result.add(IncludedFile(From(it.path), To(""), listOf(IFileSpec.GlobSpec("**"))))
result.add(IncludedFile(From(it.path), To(CLASSES), listOf(IFileSpec.GlobSpec("**"))))
}
result.add(IncludedFile(From(fullDir), To(LIB), listOf(IFileSpec.GlobSpec("**"))))