Skip to content

Commit 50ec0bf

Browse files
committed
[Fix] Enable Java 8 and fix building with ButterKnife.
1 parent 7732347 commit 50ec0bf

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
@@ -18,6 +18,11 @@ android {
1818
consumerProguardFiles 'proguard-rules.pro'
1919
}
2020

21+
compileOptions {
22+
sourceCompatibility JavaVersion.VERSION_1_8
23+
targetCompatibility JavaVersion.VERSION_1_8
24+
}
25+
2126
buildTypes {
2227
release {
2328
minifyEnabled false

sample/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ android {
1818
versionName project.VERSION_NAME
1919
}
2020

21+
compileOptions {
22+
sourceCompatibility JavaVersion.VERSION_1_8
23+
targetCompatibility JavaVersion.VERSION_1_8
24+
}
25+
2126
signingConfigs {
2227
release {
2328
storeFile file('../../github.jks')

0 commit comments

Comments
 (0)