|
|
@ -14,8 +14,6 @@
|
|
|
|
* limitations under the License.
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
import com.android.build.api.dsl.ManagedVirtualDevice
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
|
|
|
|
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
|
|
|
|
@Suppress("DSL_SCOPE_VIOLATION")
|
|
|
|
@Suppress("DSL_SCOPE_VIOLATION")
|
|
|
|
plugins {
|
|
|
|
plugins {
|
|
|
@ -31,20 +29,6 @@ android {
|
|
|
|
"com.google.samples.apps.nowinandroid.core.testing.NiaTestRunner"
|
|
|
|
"com.google.samples.apps.nowinandroid.core.testing.NiaTestRunner"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
namespace = "com.google.samples.apps.nowinandroid.core.database"
|
|
|
|
namespace = "com.google.samples.apps.nowinandroid.core.database"
|
|
|
|
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
|
|
|
|
// TODO: Convert it as a convention plugin once Flamingo goes out (https://github.com/android/nowinandroid/issues/523)
|
|
|
|
|
|
|
|
managedDevices {
|
|
|
|
|
|
|
|
devices {
|
|
|
|
|
|
|
|
maybeCreate<ManagedVirtualDevice>("pixel4api30").apply {
|
|
|
|
|
|
|
|
device = "Pixel 4"
|
|
|
|
|
|
|
|
apiLevel = 30
|
|
|
|
|
|
|
|
// ATDs currently support only API level 30.
|
|
|
|
|
|
|
|
systemImageSource = "aosp-atd"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
|