Set source/target compatibility in Android client

This commit is contained in:
xhh
2015-09-07 16:35:34 +08:00
parent 90307cafc6
commit 8b96cdb7d7
4 changed files with 13 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ android {
minSdkVersion 14
targetSdkVersion 22
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
// Rename the aar correctly
libraryVariants.all { variant ->
@@ -90,4 +94,4 @@ task sourcesJar(type: Jar) {
artifacts {
archives sourcesJar
}
{{/useAndroidMavenGradlePlugin}}
{{/useAndroidMavenGradlePlugin}}