mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Added Retrolambda and set the language level to JavaVersion.VERSION_1_8
This commit is contained in:
parent
f73a9f15fc
commit
3824f31ef9
2 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
apply plugin: 'me.tatarka.retrolambda'
|
||||||
apply plugin: 'jacoco-android'
|
apply plugin: 'jacoco-android'
|
||||||
apply from: 'quality.gradle'
|
apply from: 'quality.gradle'
|
||||||
apply plugin: 'com.getkeepsafe.dexcount'
|
apply plugin: 'com.getkeepsafe.dexcount'
|
||||||
|
|
@ -75,6 +76,11 @@ android {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
//FIXME: Temporary fix for https://github.com/commons-app/apps-android-commons/issues/709
|
//FIXME: Temporary fix for https://github.com/commons-app/apps-android-commons/issues/709
|
||||||
configurations.all {
|
configurations.all {
|
||||||
resolutionStrategy.force 'com.android.support:support-annotations:25.2.0'
|
resolutionStrategy.force 'com.android.support:support-annotations:25.2.0'
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ buildscript {
|
||||||
classpath "com.android.tools.build:gradle:${project.gradleVersion}"
|
classpath "com.android.tools.build:gradle:${project.gradleVersion}"
|
||||||
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.1'
|
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.1'
|
||||||
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.1'
|
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.1'
|
||||||
|
classpath 'me.tatarka:gradle-retrolambda:3.6.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue