]> git.ktnx.net Git - mobile-ledger.git/blob - app/build.gradle
7d821c0a67b8905823ac1615a29681c9fe33270d
[mobile-ledger.git] / app / build.gradle
1 /*
2  * Copyright © 2019 Damyan Ivanov.
3  * This file is part of Mobile-Ledger.
4  * Mobile-Ledger is free software: you can distribute it and/or modify it
5  * under the term of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your opinion), any later version.
8  *
9  * Mobile-Ledger is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License terms for details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
16  */
17
18 apply plugin: 'com.android.application'
19
20 android {
21     compileSdkVersion 28
22     defaultConfig {
23         applicationId "net.ktnx.mobileledger"
24         minSdkVersion 22
25         targetSdkVersion 28
26         versionCode 12
27         versionName '0.4.8'
28         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
29     }
30     buildTypes {
31         release {
32             minifyEnabled false
33             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
34         }
35         debug {
36             versionNameSuffix '-debug'
37             applicationIdSuffix '.debug'
38         }
39     }
40     sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
41     buildToolsVersion '28.0.3'
42     compileOptions {
43         sourceCompatibility JavaVersion.VERSION_1_8
44         targetCompatibility JavaVersion.VERSION_1_8
45     }
46     productFlavors {
47     }
48 }
49
50 dependencies {
51     implementation fileTree(include: ['*.jar'], dir: 'libs')
52     implementation 'com.android.support:appcompat-v7:28.0.0'
53     implementation 'com.android.support:support-v4:28.0.0'
54     implementation 'com.android.support:design:28.0.0'
55     implementation 'com.android.support.constraint:constraint-layout:1.1.3'
56     implementation 'android.arch.lifecycle:extensions:1.1.1'
57     implementation 'com.android.support:recyclerview-v7:28.0.0'
58     testImplementation 'junit:junit:4.12'
59     androidTestImplementation 'com.android.support.test:runner:1.0.2'
60     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
61     implementation 'org.jetbrains:annotations:15.0'
62 }