mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Add KFiles.libsDir().
This commit is contained in:
parent
12f4123fb6
commit
7e45668549
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@ class KFiles {
|
||||||
*/
|
*/
|
||||||
fun joinDir(vararg ts: String): String = ts.toMutableList().joinToString(File.separator)
|
fun joinDir(vararg ts: String): String = ts.toMutableList().joinToString(File.separator)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where assemblies get generated ("kobaltBuild/libs")
|
||||||
|
*/
|
||||||
|
fun libsDir(project: Project) = KFiles.makeDir(KFiles.buildDir(project).path, "libs").path
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The paths elements are expected to be a directory. Make that directory and join the
|
* The paths elements are expected to be a directory. Make that directory and join the
|
||||||
* elements with the file separator.
|
* elements with the file separator.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue