mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Use the project.directory for dependencies.
This commit is contained in:
parent
fe9891698c
commit
7110a17a07
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ abstract class JvmCompilerPlugin @Inject constructor(
|
|||
if (sourceDirs.size > 0) {
|
||||
lp(project, "Copying $sourceSet resources")
|
||||
val absOutputDir = File(KFiles.joinDir(project.directory, project.buildDirectory!!, outputDir))
|
||||
sourceDirs.map { File(it) }.filter { it.exists() } .forEach {
|
||||
sourceDirs.map { File(project.directory, it) }.filter {
|
||||
it.exists()
|
||||
} .forEach {
|
||||
log(2, "Copying from $sourceDirs to $absOutputDir")
|
||||
KFiles.copyRecursively(it, absOutputDir)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue