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

Revert "Throw if a jar file can't be found."

This reverts commit 5a7a6d8277.
This commit is contained in:
Cedric Beust 2016-07-28 23:39:45 -08:00
parent 18842097ff
commit 91ec783f64

View file

@ -231,10 +231,10 @@ class AetherDependency(val artifact: Artifact) : IClasspathDependency, Comparabl
if (newFile != null) {
CompletedFuture(newFile)
} else {
throw KobaltException("Could not resolve $id")
CompletedFuture(File("DOESNOTEXIST $id")) // will be filtered out
}
} else {
throw KobaltException("Could not resolve $id")
CompletedFuture(File("DOESNOTEXIST $id"))
}
}
}