Use KotlinTestUtils.findAndroidSdk() in BuildCacheRelocationIT

This commit is contained in:
Vyacheslav Gerasimov
2018-01-24 20:35:07 +03:00
parent 052be93c97
commit 3e34b95610
@@ -17,6 +17,7 @@
package org.jetbrains.kotlin.gradle
import org.jetbrains.kotlin.gradle.util.modify
import org.jetbrains.kotlin.test.KotlinTestUtils
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
@@ -30,7 +31,7 @@ class BuildCacheRelocationIT : BaseGradleIT() {
super.defaultBuildOptions().copy(
withBuildCache = true,
androidGradlePluginVersion = "3.0.0",
androidHome = File(ANDROID_HOME_PATH))
androidHome = KotlinTestUtils.findAndroidSdk())
@Parameterized.Parameter
lateinit var testCase: TestCase