1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00

Set minSdkVersion + targetSdkVersion via build.gradle

Without this building with Gradle adds a 'maxSdkVersion' attribute to the manifest. This seems to cause the targetSdkVersion value being ignored. And with a targetSdkVersion value lower than 16 the permissions READ_CONTACTS/WRITE_CONTACTS imply READ_CALL_LOG/WRITE_CALL_LOG. But we don't need/want those permissions.
This commit is contained in:
cketti 2014-10-10 13:15:48 -04:00
parent 0f844fd4d2
commit c3c8221d4a

View File

@ -41,6 +41,11 @@ android {
compileSdkVersion 19
buildToolsVersion '20.0.0'
defaultConfig {
minSdkVersion 15
targetSdkVersion 17
}
dexOptions {
preDexLibraries = rootProject.ext.preDexLibs
}