mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Fix #129 for war files as well.
This commit is contained in:
parent
307ceee78f
commit
379ff056f7
1 changed files with 7 additions and 0 deletions
|
@ -55,6 +55,13 @@ class WarGenerator @Inject constructor(val dependencyManager: DependencyManager)
|
||||||
KFiles.copy(Paths.get(it.absolutePath), Paths.get(fullDir, it.name))
|
KFiles.copy(Paths.get(it.absolutePath), Paths.get(fullDir, it.name))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// The resources
|
||||||
|
//
|
||||||
|
context.variant.resourceDirectories(project).forEach {
|
||||||
|
result.add(IncludedFile(From(it.path), To(""), listOf(IFileSpec.GlobSpec("**"))))
|
||||||
|
}
|
||||||
|
|
||||||
result.add(IncludedFile(From(fullDir), To(WEB_INF), listOf(IFileSpec.GlobSpec("**"))))
|
result.add(IncludedFile(From(fullDir), To(WEB_INF), listOf(IFileSpec.GlobSpec("**"))))
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue