Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android Test build errors caused by Gutenberg change #9882

Merged
merged 1 commit into from
May 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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