mirror of
https://github.com/etesync/android
synced 2024-11-29 11:28:19 +00:00
61231b4233
* increase target API level to 23 (Android 6), which makes Android 6-style permissions mandatory * AUTHENTICATE_ACCOUNTS permission is only required up to API level 22 * new activity: PermissionsActivity which shows missing permissions and provides buttons to request them * DavService: Android shouldn't send a null Intent, but sometimes it does, so implement null check * LocalTaskList: tasksProviderAvailable may return true on API level 23+ even if permissions are not sufficient * SyncAdapterService: show a notification (with Intent for PermissionsActivity) when permissions are not sufficient * when creating accounts, set OpenTasks sync always to true if API level is 23+ (even if OpenTasks is not installed [yet]) * update Lombok
27 lines
717 B
Groovy
27 lines
717 B
Groovy
/*
|
||
* Copyright (c) 2013 – 2015 Ricki Hirner (bitfire web engineering).
|
||
* All rights reserved. This program and the accompanying materials
|
||
* are made available under the terms of the GNU Public License v3.0
|
||
* which accompanies this distribution, and is available at
|
||
* http://www.gnu.org/licenses/gpl.html
|
||
*/
|
||
|
||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
buildscript {
|
||
repositories {
|
||
jcenter()
|
||
}
|
||
dependencies {
|
||
classpath 'com.android.tools.build:gradle:2.0.0+'
|
||
}
|
||
}
|
||
|
||
allprojects {
|
||
repositories {
|
||
jcenter()
|
||
maven {
|
||
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
||
}
|
||
}
|
||
}
|