mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
CORDA-2345: Fix Windows build (#4634)
This commit is contained in:
parent
0e1c20a883
commit
0a039e9094
@ -58,7 +58,7 @@ data class TestCordappImpl(val scanPackage: String, override val config: Map<Str
|
||||
.scan()
|
||||
.use { it.allResources }
|
||||
.asSequence()
|
||||
.map { it.classpathElementURL.toPath() }
|
||||
.map { it.classpathElementFile.toPath() }
|
||||
.filterNot { it.toString().endsWith("-tests.jar") }
|
||||
.map { if (it.toString().endsWith(".jar")) it else findProjectRoot(it) }
|
||||
.toSet()
|
||||
|
Loading…
Reference in New Issue
Block a user