Fix running framework tests after updating build to Kotlin 1.3-M2

This commit is contained in:
Svyatoslav Scherbina
2018-09-03 10:14:35 +03:00
committed by SvyatoslavScherbina
parent 840c2f1b9f
commit deee714be8
@@ -32,9 +32,7 @@ open class FrameworkTest : DefaultTask() {
lateinit var frameworkName: String
private val testOutput by lazy {
((project.findProperty("sourceSets") as SourceSetContainer)
.getByName("testOutputFramework") as SourceSet).output.dirs.singleFile.absolutePath
?: throw RuntimeException("Empty sourceSet")
(project.findProperty("testOutputFramework") as java.io.File).absolutePath
}
override fun configure(config: Closure<*>): Task {