mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
copy resources to correct path
This commit is contained in:
parent
8e8077626a
commit
45e0017a0e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Merger @Inject constructor() {
|
||||||
listOf(variant.buildType.name, variant.productFlavor.name, "main").forEach {
|
listOf(variant.buildType.name, variant.productFlavor.name, "main").forEach {
|
||||||
log(2, " Current variant: $it")
|
log(2, " Current variant: $it")
|
||||||
|
|
||||||
val fromDir = File("src/$it/res")
|
val fromDir = File(project.directory, "src/$it/res")
|
||||||
KFiles.findRecursively(fromDir).forEach {
|
KFiles.findRecursively(fromDir).forEach {
|
||||||
val fromFile = File(fromDir, it)
|
val fromFile = File(fromDir, it)
|
||||||
val toFile = File(dest, it)
|
val toFile = File(dest, it)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue