Skip to content

Commit 149bb77

Browse files
committed
Raised Java language compatibility
1 parent 868af4a commit 149bb77

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

library/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ android {
1414
lintOptions {
1515
abortOnError false
1616
}
17+
18+
compileOptions {
19+
sourceCompatibility JavaVersion.VERSION_1_7
20+
targetCompatibility JavaVersion.VERSION_1_7
21+
}
1722
}
1823

1924
android.libraryVariants.all { variant ->

sample/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ android {
2424
targetSdkVersion 19
2525
}
2626

27+
compileOptions {
28+
sourceCompatibility JavaVersion.VERSION_1_7
29+
targetCompatibility JavaVersion.VERSION_1_7
30+
}
31+
2732
lintOptions {
2833
abortOnError false
2934
}

0 commit comments

Comments
 (0)