Skip to content

Commit

Permalink
Merge pull request #10055 from wordpress-mobile/fix/guteberg/android_…
Browse files Browse the repository at this point in the history
…x_build

Gutenberg/Android X: Apply Java 1.8 compileOptions even when building from binaries
  • Loading branch information
daniloercoli authored Jun 18, 2019
2 parents 27b1642 + cb8b3a8 commit 1fba7fb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,10 @@ android {
}

// Gutenberg's dependency - react-native-video is using
// Java API 1.8 so we need this when building from source
if (rootProject.ext.buildGutenbergFromSource) {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// Java API 1.8
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

flavorDimensions "buildType"
Expand Down

0 comments on commit 1fba7fb

Please sign in to comment.