mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Refactor.
This commit is contained in:
parent
571a46a5ac
commit
66e00fa7d8
2 changed files with 10 additions and 9 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue