Skip to content

Commit 9e09b8f

Browse files
committed
Update test configuration to allow old API level devices
- Add `allowOldApiLevelDevices` flag to gradle.properties - Clarify comment in tests.yml for API level 24
1 parent d54c437 commit 9e09b8f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
matrix:
6060
api-level:
61-
- 24 # Android 7 (minSdk level)
61+
- 24 # Android 7 (minSdk level; see allowOldApiLevelDevices in gradle.properties)
6262
- 30 # Android 11
6363
- 32 # Android 12L
6464
- 37 # Android 17

gradle.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ org.gradle.caching=true
1212
# Android
1313
android.useAndroidX=true
1414
# Dokka
15-
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
15+
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
16+
17+
# Automated tests with gradle-managed devices require SDK level 26 by default.
18+
# Can be removed as soon as minSdk is 26.
19+
android.experimental.testOptions.managedDevices.allowOldApiLevelDevices=true

0 commit comments

Comments
 (0)