From: Damyan Ivanov Date: Thu, 20 Dec 2018 17:51:10 +0000 (+0000) Subject: add version suffix for the debug build X-Git-Tag: v0.3~204 X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=commitdiff_plain;h=6fc42b662846642af06163456f05ec4154d6b2ad add version suffix for the debug build --- diff --git a/app/build.gradle b/app/build.gradle index e7f61276..01a301f7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,20 @@ +/* + * Copyright © 2018 Damyan Ivanov. + * This file is part of Mobile-Ledger. + * Mobile-Ledger 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. + * + * Mobile-Ledger 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 Mobile-Ledger. If not, see . + */ + apply plugin: 'com.android.application' android { @@ -15,6 +32,9 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + debug { + versionNameSuffix '-debug' + } } sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } } buildToolsVersion '28.0.3' @@ -25,7 +45,7 @@ android { } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation fileTree(include: ['*.jar'], dir: 'libs') 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'