Make project compilable

This commit is contained in:
serso 2016-01-04 12:22:16 +01:00
parent 75dca50704
commit 4f71ac411b
2 changed files with 11 additions and 4 deletions

View File

@ -48,6 +48,10 @@ android {
abortOnError false
warning 'MissingTranslation'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
repositories {
@ -126,13 +130,13 @@ gradle.taskGraph.afterTask { Task task ->
private void cleanGoogleServicesResources(buildType) {
ant.delete(includeEmptyDirs: 'true') {
fileset(dir: file('./build/intermediates/res/' + buildType), includes: '**/common_signin*')
fileset(dir: file('./build/intermediates/res/merged/' + buildType), includes: '**/common_signin*')
}
ant.delete(includeEmptyDirs: 'true') {
fileset(dir: file('./build/intermediates/res/' + buildType), includes: '**/ic_plusone*')
fileset(dir: file('./build/intermediates/res/merged/' + buildType), includes: '**/ic_plusone*')
}
ant.delete(includeEmptyDirs: 'true') {
fileset(dir: file('./build/intermediates/res/' + buildType), includes: '**/powered_by_google*')
fileset(dir: file('./build/intermediates/res/merged/' + buildType), includes: '**/powered_by_google*')
}
}

View File

@ -23,3 +23,6 @@ test {
maxParallelForks = 15
forkEvery = 1
}
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7