2 * Copyright © 2019 Damyan Ivanov.
3 * This file is part of MoLe.
4 * MoLe 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.
9 * MoLe 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.
14 * You should have received a copy of the GNU General Public License
15 * along with MoLe. If not, see <https://www.gnu.org/licenses/>.
18 apply plugin: 'com.android.application'
23 applicationId "net.ktnx.mobileledger"
28 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
33 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
36 versionNameSuffix '-debug'
37 applicationIdSuffix '.debug'
40 sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
41 buildToolsVersion '28.0.3'
43 sourceCompatibility JavaVersion.VERSION_1_8
44 targetCompatibility JavaVersion.VERSION_1_8
51 def nav_version = '2.1.0-alpha06'
52 implementation fileTree(include: ['*.jar'], dir: 'libs')
53 implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
54 implementation 'androidx.legacy:legacy-support-v4:1.0.0'
55 implementation 'com.google.android.material:material:1.1.0-alpha08'
56 implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
57 implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0-alpha02'
58 implementation 'androidx.recyclerview:recyclerview:1.1.0-beta01'
59 testImplementation 'junit:junit:4.12'
60 androidTestImplementation 'androidx.test:runner:1.3.0-alpha01'
61 androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha01'
62 implementation 'org.jetbrains:annotations:15.0'
63 implementation 'com.fasterxml.jackson.module:jackson-modules-java8:2.9.8'
64 implementation "androidx.navigation:navigation-fragment:$nav_version"
65 implementation "androidx.navigation:navigation-ui:$nav_version"