Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit c3261b9

Browse files
committed
fix(android): Adding Java 8 compile options for Android instrumented tests
1 parent 624dd15 commit c3261b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ android {
2727
compileSdkVersion safeExtGet('compileSdkVersion', 28)
2828
buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3')
2929

30+
compileOptions {
31+
sourceCompatibility JavaVersion.VERSION_1_8
32+
targetCompatibility JavaVersion.VERSION_1_8
33+
}
34+
3035
defaultConfig {
3136
minSdkVersion safeExtGet('minSdkVersion', 16)
3237
targetSdkVersion safeExtGet('targetSdkVersion', 28)

0 commit comments

Comments
 (0)