Enable Java 8 language features.

Note that for Android compatibility, we still need to stay compatible to the Java 7 API.
This commit is contained in:
Andreas Schildbach 2019-10-14 18:09:04 +02:00
parent fbb0d374d8
commit dd96d33afa
2 changed files with 3 additions and 3 deletions

View file

@ -33,8 +33,8 @@ sourceSets {
}
compileJava {
sourceCompatibility '1.7'
targetCompatibility '1.7'
sourceCompatibility '1.8'
targetCompatibility '1.8'
options.encoding = 'UTF-8'
}