]> gitweb.stoutner.com Git - PrivacyCell.git/blob - app/build.gradle
Bump target API to 32. https://redmine.stoutner.com/issues/827
[PrivacyCell.git] / app / build.gradle
1 /*
2  * Copyright © 2021-2022 Soren Stoutner <soren@stoutner.com>.
3  *
4  * This file is part of Privacy Cell <https://www.stoutner.com/privacy-cell>.
5  *
6  * Privacy Cell is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * Privacy Cell is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 plugins {
21     id 'com.android.application'
22     id 'kotlin-android'
23 }
24
25 android {
26     compileSdk 31
27
28     defaultConfig {
29         applicationId "com.stoutner.privacycell"
30         minSdk 30
31         targetSdk 32
32         versionCode 8
33         versionName "1.7"
34     }
35
36     buildTypes {
37         debug {
38             minifyEnabled false
39             shrinkResources false
40         }
41
42         release {
43             minifyEnabled true
44             shrinkResources true
45             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
46         }
47     }
48 }
49
50 dependencies {
51     // Include the following AndroidX libraries.
52     implementation 'androidx.appcompat:appcompat:1.4.1'
53     implementation 'androidx.core:core-ktx:1.7.0'
54     implementation 'androidx.preference:preference-ktx:1.2.0'
55     implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
56     implementation 'androidx.webkit:webkit:1.4.0'
57     implementation 'androidx.work:work-runtime-ktx:2.7.1'
58
59     // Include the Kotlin standard library.  This should be the same version number listed in the project build.gradle.
60     implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10'
61
62     // Include the Google material library.
63     implementation 'com.google.android.material:material:1.5.0'
64 }