mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Throw if a jar file can't be found.
This commit is contained in:
parent
692f9bcbab
commit
5a7a6d8277
1 changed files with 2 additions and 2 deletions
|
@ -231,10 +231,10 @@ class AetherDependency(val artifact: Artifact) : IClasspathDependency, Comparabl
|
|||
if (newFile != null) {
|
||||
CompletedFuture(newFile)
|
||||
} else {
|
||||
CompletedFuture(File("DOESNOTEXIST $id")) // will be filtered out
|
||||
throw KobaltException("Could not resolve $id")
|
||||
}
|
||||
} else {
|
||||
CompletedFuture(File("DOESNOTEXIST $id"))
|
||||
throw KobaltException("Could not resolve $id")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue