Skip to content

Commit

Permalink
Merge pull request #9882 from wordpress-mobile/fix/android-test-build…
Browse files Browse the repository at this point in the history
…-failure

Fix Android Test build errors caused by Gutenberg change
  • Loading branch information
mzorz authored May 17, 2019
2 parents e63fec1 + ff51d59 commit f89cefb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ android {
buildConfigField "boolean", "NEW_SITE_CREATION_ENABLED", "true"
buildConfigField "boolean", "OFFER_GUTENBERG", "true"
buildConfigField "boolean", "DOMAIN_REGISTRATION_ENABLED", "false"
}

// Gutenberg's dependency - react-native-video is using
// Java API 1.8
// 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
Expand Down

0 comments on commit f89cefb

Please sign in to comment.