Skip to content

Commit

Permalink
Adding compileOptions Java 1.8 to build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
reime005 committed Feb 26, 2019
1 parent b5c2577 commit 300f283
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 300f283

Please sign in to comment.