Skip to content

Commit

Permalink
Set compatibility options.
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Oct 10, 2019
1 parent e18d42b commit 6dc23a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
kotlinOptions {
jvmTarget = "1.8"
}
}

Expand Down
7 changes: 5 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
kotlinOptions {
jvmTarget = "1.8"
}
androidExtensions {
experimental true
Expand Down

0 comments on commit 6dc23a6

Please sign in to comment.