X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=ee2ad1a755511e52304d1a96a185472462af7fff;hp=e7f612761c1698591ce2d15dc78451a9a2aaa5d1;hb=7f52af7aece88e6ea809afb03065e8d412f6a76b;hpb=f6c803b3c43e2601b3c5ed7f6b6a0e630a71cf6b diff --git a/app/build.gradle b/app/build.gradle index e7f61276..ee2ad1a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,20 @@ +/* + * Copyright © 2019 Damyan Ivanov. + * This file is part of MoLe. + * MoLe is free software: you can distribute it and/or modify it + * under the term of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your opinion), any later version. + * + * MoLe is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License terms for details. + * + * You should have received a copy of the GNU General Public License + * along with MoLe. If not, see . + */ + apply plugin: 'com.android.application' android { @@ -6,15 +23,19 @@ android { applicationId "net.ktnx.mobileledger" minSdkVersion 22 targetSdkVersion 28 - versionCode 1 - versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + versionCode 17 + versionName '0.7' + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + debug { + versionNameSuffix '-debug' + applicationIdSuffix '.debug' + } } sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } } buildToolsVersion '28.0.3' @@ -22,16 +43,20 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + productFlavors { + } } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:28.0.0' - implementation 'com.android.support:support-v4:28.0.0' - implementation 'com.android.support:design:28.0.0' - implementation 'com.android.support.constraint:constraint-layout:1.1.3' - implementation 'android.arch.lifecycle:extensions:1.1.1' + implementation fileTree(include: ['*.jar'], dir: 'libs') + implementation 'androidx.appcompat:appcompat:1.0.0-beta01' + implementation 'androidx.legacy:legacy-support-v4:1.0.0-beta01' + implementation 'com.google.android.material:material:1.0.0-beta01' + implementation 'androidx.constraintlayout:constraintlayout:1.1.2' + implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0-beta01' + implementation 'androidx.recyclerview:recyclerview:1.0.0-beta01' testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'androidx.test:runner:1.1.0-alpha4' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4' + implementation 'org.jetbrains:annotations:15.0' }