X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fbuild.gradle;h=ee2ad1a755511e52304d1a96a185472462af7fff;hp=3397bcd561f4e6a32a098748d5e9696103905ded;hb=7f52af7aece88e6ea809afb03065e8d412f6a76b;hpb=5e6987246be580c0f5b23c95d163432f7c6edb44 diff --git a/app/build.gradle b/app/build.gradle index 3397bcd5..ee2ad1a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,31 +1,62 @@ +/* + * 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 { - compileSdkVersion 27 + compileSdkVersion 28 defaultConfig { applicationId "net.ktnx.mobileledger" - minSdkVersion 23 - targetSdkVersion 27 - versionCode 1 - versionName "1.0" - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + minSdkVersion 22 + targetSdkVersion 28 + 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' + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + productFlavors { + } } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:27.1.1' - implementation 'com.android.support:support-v4:27.1.1' - implementation 'com.android.support:design:27.1.1' - implementation 'com.android.support.constraint:constraint-layout:1.1.3' + 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' }