Skip to content

Commit

Permalink
Merge pull request #1499 from NectGmbH/detox-10-android-build
Browse files Browse the repository at this point in the history
Adding compileOptions Java 1.8 to build.gradle
  • Loading branch information
cobarx authored Mar 5, 2019
2 parents b5c2577 + 300f283 commit f710df5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion android-exoplayer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ def safeExtGet(prop, fallback) {
android {
compileSdkVersion safeExtGet('compileSdkVersion', 27)
buildToolsVersion safeExtGet('buildToolsVersion', '27.0.3')

compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
Expand All @@ -32,4 +37,4 @@ dependencies {
}
implementation 'com.squareup.okhttp3:okhttp:3.12.1'

}
}

0 comments on commit f710df5

Please sign in to comment.