Skip to content

Commit

Permalink
fix(android): declare java 1.8 feature usage so assembleInstrumentedT…
Browse files Browse the repository at this point in the history
…est builds work (#466)

Not needed for the most modern android build chains, but should increase compatibility for older versions
  • Loading branch information
mrbrentkelly committed Nov 13, 2021
1 parent f11e5f3 commit 48d4364
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.gradle
Expand Up @@ -31,6 +31,11 @@ apply plugin: 'com.android.library'
android {
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
Expand Down

0 comments on commit 48d4364

Please sign in to comment.