diff options
author | Alexander Dorokhine <adorokhine@google.com> | 2017-02-13 14:09:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 14:09:18 -0800 |
commit | 9ee1c6ed1a90157e0d0d6c9b23ad69d75a178ec7 (patch) | |
tree | 9de109bf490e3603a9fbf5fc42de5d174364af03 /build.gradle | |
parent | 9896303f43e140c467d34d87148b545ac237bcc9 (diff) | |
download | mobly-bundled-snippets-9ee1c6ed1a90157e0d0d6c9b23ad69d75a178ec7.tar.gz |
Target sdk 22 so we don't have to deal with runtime permissions. (#15)
-g avoids them but users have to remember to specify that, plus Gradle
warns you that you are calling things in an invalid way unless you request
permissions through the runtime system.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index da3ab59..0bb6af3 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,8 @@ android { defaultConfig { applicationId "com.google.android.mobly.snippet.bundled" minSdkVersion 11 - targetSdkVersion 24 + // Set target to 22 to avoid having to deal with runtime permissions. + targetSdkVersion 22 versionCode 1 versionName "0.0.1" setProperty("archivesBaseName", "mobly-bundled-snippets") |