Replace API breaking changes

not sure if they were dropped on purpose...
pull/1959/head
Simon Marquis 11 months ago
parent 3bc6ed6dbb
commit b060fd0b71

@ -34,8 +34,8 @@ internal fun configureGradleManagedDevices(
val allDevices = listOf(pixel4, pixel6, pixelC)
val ciDevices = listOf(pixel4, pixelC)
commonExtension.testOptions {
managedDevices {
commonExtension.testOptions.managedDevices {
allDevices {
allDevices.forEach { deviceConfig ->
maybeCreate(deviceConfig.taskName, ManagedVirtualDevice::class.java).apply {
@ -54,7 +54,6 @@ internal fun configureGradleManagedDevices(
}
}
}
}
private data class DeviceConfig(
val device: String,

@ -39,13 +39,11 @@ internal fun Project.configureKotlinAndroid(
defaultConfig.minSdk = 23
compileOptions {
// Up to Java 11 APIs are available through desugaring
// https://developer.android.com/studio/write/java11-minimal-support-table
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
isCoreLibraryDesugaringEnabled = true
}
compileOptions.sourceCompatibility = JavaVersion.VERSION_11
compileOptions.targetCompatibility = JavaVersion.VERSION_11
compileOptions.isCoreLibraryDesugaringEnabled = true
}
configureKotlin<KotlinAndroidProjectExtension>()

Loading…
Cancel
Save