mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix Windows resolution bug.
This commit is contained in:
parent
68ea5de225
commit
371434fdae
1 changed files with 1 additions and 2 deletions
|
@ -73,7 +73,6 @@ public class RepoFinder @Inject constructor(val urlFactory: Kurl.IFactory, val e
|
|||
val mavenId = MavenId(id)
|
||||
val groupId = mavenId.groupId
|
||||
val artifactId = mavenId.artifactId
|
||||
var packaging = mavenId.packaging
|
||||
val version = mavenId.version
|
||||
if (! mavenId.hasVersion) {
|
||||
val ud = UnversionedDep(groupId, artifactId)
|
||||
|
@ -101,7 +100,7 @@ public class RepoFinder @Inject constructor(val urlFactory: Kurl.IFactory, val e
|
|||
val found =
|
||||
if (! hasJar) {
|
||||
// No jar, try to find the directory
|
||||
val url = repoUrl + File(dep.toJarFile(dep.version)).parentFile.path
|
||||
val url = repoUrl + File(dep.toJarFile(dep.version)).parentFile.path.replace("\\", "/")
|
||||
urlFactory.create(url).exists
|
||||
} else {
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue