mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Can't be null.
This commit is contained in:
parent
20b37cfc88
commit
4353e438a1
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ class AetherDependency(val artifact: Artifact): IClasspathDependency, Comparable
|
|||
CompletedFuture(td!!.root.artifact.file)
|
||||
} else {
|
||||
val resolved = aether.resolve(artifact)
|
||||
if (resolved != null && resolved.size > 0) {
|
||||
if (resolved.size > 0) {
|
||||
CompletedFuture(resolved[0].artifact.file)
|
||||
} else {
|
||||
CompletedFuture(File("DONOTEXIST")) // will be filtered out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue