|
|
|
@ -13,6 +13,9 @@
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import com.android.build.api.dsl.ManagedVirtualDevice
|
|
|
|
|
|
|
|
|
|
// TODO: Remove once https://youtrack.jetbrains.com/issue/KTIJ-19369 is fixed
|
|
|
|
|
@Suppress("DSL_SCOPE_VIOLATION")
|
|
|
|
|
plugins {
|
|
|
|
@ -31,7 +34,8 @@ android {
|
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner = "com.google.samples.apps.nowinandroid.core.testing.NiaTestRunner"
|
|
|
|
|
testInstrumentationRunner =
|
|
|
|
|
"com.google.samples.apps.nowinandroid.core.testing.NiaTestRunner"
|
|
|
|
|
}
|
|
|
|
|
namespace = "com.google.samples.apps.nowinandroid.core.database"
|
|
|
|
|
|
|
|
|
@ -39,7 +43,7 @@ android {
|
|
|
|
|
// TODO: Convert it as a convention plugin once Flamingo goes out (https://github.com/android/nowinandroid/issues/523)
|
|
|
|
|
managedDevices {
|
|
|
|
|
devices {
|
|
|
|
|
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
|
|
|
|
|
maybeCreate<ManagedVirtualDevice>("pixel4api30").apply {
|
|
|
|
|
device = "Pixel 4"
|
|
|
|
|
apiLevel = 30
|
|
|
|
|
// ATDs currently support only API level 30.
|
|
|
|
|