mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +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()
|
.scan()
|
||||||
.use { it.allResources }
|
.use { it.allResources }
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.map { it.classpathElementURL.toPath() }
|
.map { it.classpathElementFile.toPath() }
|
||||||
.filterNot { it.toString().endsWith("-tests.jar") }
|
.filterNot { it.toString().endsWith("-tests.jar") }
|
||||||
.map { if (it.toString().endsWith(".jar")) it else findProjectRoot(it) }
|
.map { if (it.toString().endsWith(".jar")) it else findProjectRoot(it) }
|
||||||
.toSet()
|
.toSet()
|
||||||
|
Loading…
Reference in New Issue
Block a user