Update android-sdk dependency management. Add Emulator
This commit is contained in:
@@ -154,6 +154,10 @@ object TaskUtils {
|
||||
fun useAndroidJar(task: Task) {
|
||||
task.useAndroidConfiguration(systemPropertyName = "android.jar", configName = "androidJar")
|
||||
}
|
||||
|
||||
fun useAndroidEmulator(task: Task) {
|
||||
task.useAndroidConfiguration(systemPropertyName = "android.sdk", configName = "androidEmulator")
|
||||
}
|
||||
}
|
||||
|
||||
private fun Task.useAndroidConfiguration(systemPropertyName: String, configName: String) {
|
||||
|
||||
Reference in New Issue
Block a user