Separate ActiveAndroid from models

This commit is contained in:
2016-06-10 13:30:33 -04:00
parent 18e8390aed
commit 78d4f86cab
152 changed files with 6494 additions and 4060 deletions

View File

@@ -1,6 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'me.tatarka.retrolambda'
android {
@@ -31,6 +30,7 @@ android {
lintOptions {
checkReleaseBuilds false
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
@@ -77,14 +77,3 @@ dependencies {
exclude group: 'com.android.support'
}
}
task grantAnimationPermission(type: Exec, dependsOn: 'installDebug') {
commandLine "adb shell pm grant org.isoron.uhabits android.permission.SET_ANIMATION_SCALE".split(' ')
}
tasks.whenTaskAdded { task ->
if (task.name.startsWith('connected')) {
task.dependsOn grantAnimationPermission
}
}