1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00

Refactor.

This commit is contained in:
Cedric Beust 2015-10-30 12:01:49 -07:00
parent 571a46a5ac
commit 66e00fa7d8
2 changed files with 10 additions and 9 deletions

View file

@ -30,14 +30,6 @@ abstract class JvmCompilerPlugin @Inject constructor(
const val SOURCE_SET_MAIN = "main"
const val SOURCE_SET_TEST = "test"
const val DOCS_DIRECTORY = "docs/javadoc"
fun validateClasspath(cp: List<String>) {
cp.forEach {
if (! File(it).exists()) {
throw KobaltException("Couldn't find $it")
}
}
}
}
/**