mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Don't fetch remotely if .pom is found.
This commit is contained in:
parent
83282342ae
commit
e31c5a774a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class MavenDependency @Inject constructor(mavenId: MavenId,
|
|||
init {
|
||||
val jar = File(localRepo.toFullPath(toJarFile(version)))
|
||||
val pom = File(localRepo.toFullPath(toPomFile(version)))
|
||||
if (jar.exists() && pom.exists()) {
|
||||
if (pom.exists()) {
|
||||
jarFile = CompletedFuture(jar)
|
||||
pomFile = CompletedFuture(pom)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue