mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Not used.
This commit is contained in:
parent
985cd9296a
commit
4a86afc605
1 changed files with 0 additions and 4 deletions
|
@ -89,10 +89,7 @@ open class Project(
|
||||||
return Sources(this, sourceDirectories).apply { init() }
|
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)}
|
var sourceDirectories = hashSetOf<String>().apply { addAll(DEFAULT_SOURCE_DIRECTORIES)}
|
||||||
get() = existing(field)
|
|
||||||
|
|
||||||
@Directive
|
@Directive
|
||||||
fun sourceDirectoriesTest(init: Sources.() -> Unit) : Sources {
|
fun sourceDirectoriesTest(init: Sources.() -> Unit) : Sources {
|
||||||
|
@ -100,7 +97,6 @@ open class Project(
|
||||||
}
|
}
|
||||||
|
|
||||||
var sourceDirectoriesTest = hashSetOf<String>().apply { addAll(DEFAULT_SOURCE_DIRECTORIES_TEST)}
|
var sourceDirectoriesTest = hashSetOf<String>().apply { addAll(DEFAULT_SOURCE_DIRECTORIES_TEST)}
|
||||||
get() = existing(field)
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Dependencies
|
// Dependencies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue