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

Not used.

This commit is contained in:
Cedric Beust 2016-02-05 22:08:26 +04:00
parent 985cd9296a
commit 4a86afc605

View file

@ -89,10 +89,7 @@ open class Project(
return Sources(this, sourceDirectories).apply { init() }
}
private fun existing(dirs: Set<String>) = dirs.filter { File(directory, it).exists() }.toHashSet()
var sourceDirectories = hashSetOf<String>().apply { addAll(DEFAULT_SOURCE_DIRECTORIES)}
get() = existing(field)
@Directive
fun sourceDirectoriesTest(init: Sources.() -> Unit) : Sources {
@ -100,7 +97,6 @@ open class Project(
}
var sourceDirectoriesTest = hashSetOf<String>().apply { addAll(DEFAULT_SOURCE_DIRECTORIES_TEST)}
get() = existing(field)
//
// Dependencies