fixed #4648, minor change to support Gradle's Kotlin DSL (#4670)

This commit is contained in:
Manos Batsis 2019-01-29 13:30:58 +02:00 committed by Shams Asari
parent 5744614886
commit 165520f718

View File

@ -68,7 +68,7 @@ data class TestCordappImpl(val scanPackage: String, override val config: Map<Str
private fun findProjectRoot(path: Path): Path {
var current = path
while (true) {
if ((current / "build.gradle").exists()) {
if ((current / "build.gradle").exists() || (current / "build.gradle.kts").exists()) {
return current
}
current = current.parent