Set source and target compatibility to 1.7

in build.gradle to make it work with Android
This commit is contained in:
xhh 2015-09-02 18:35:58 +08:00
parent c56d807a15
commit 027e4c5a20
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
}

View File

@ -1,6 +1,9 @@
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
}