Fix running framework tests after updating build to Kotlin 1.3-M2
This commit is contained in:
committed by
SvyatoslavScherbina
parent
840c2f1b9f
commit
deee714be8
@@ -32,9 +32,7 @@ open class FrameworkTest : DefaultTask() {
|
|||||||
lateinit var frameworkName: String
|
lateinit var frameworkName: String
|
||||||
|
|
||||||
private val testOutput by lazy {
|
private val testOutput by lazy {
|
||||||
((project.findProperty("sourceSets") as SourceSetContainer)
|
(project.findProperty("testOutputFramework") as java.io.File).absolutePath
|
||||||
.getByName("testOutputFramework") as SourceSet).output.dirs.singleFile.absolutePath
|
|
||||||
?: throw RuntimeException("Empty sourceSet")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun configure(config: Closure<*>): Task {
|
override fun configure(config: Closure<*>): Task {
|
||||||
|
|||||||
Reference in New Issue
Block a user