1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-09-12 11:49:41 +02:00

Rename test flavor to atest (so it's default dev flavor when starting android studio)

This commit is contained in:
Gregor Santner 2019-08-24 14:54:25 +02:00
parent 6d45620181
commit 194fbf6927
24 changed files with 79 additions and 18 deletions

View file

@ -10,18 +10,19 @@ android {
compileSdkVersion rootProject.ext.version_compileSdk
defaultConfig {
resValue "string", "manifest_package_id", "com.github.dfa.diaspora_android"
applicationId "com.github.dfa.diaspora_android"
versionName "1.3.1"
versionCode 42
vectorDrawables.useSupportLibrary = true
minSdkVersion rootProject.ext.version_minSdk
targetSdkVersion rootProject.ext.version_compileSdk
buildConfigField "boolean", "IS_TEST_BUILD", "false"
buildConfigField "boolean", "IS_GPLAY_BUILD", "false"
buildConfigField "String[]", "DETECTED_ANDROID_LOCALES", "${findUsedAndroidLocales()}"
buildConfigField "String", "GITHASH", "\"${getGitHash()}\""
resValue "string", "manifest_package_id", "com.github.dfa.diaspora_android"
applicationId "com.github.dfa.diaspora_android"
versionName "1.3.1"
versionCode 42
vectorDrawables.useSupportLibrary = true
setProperty("archivesBaseName", applicationId + "-v" + versionCode + "-" + versionName)
}
flavorDimensions "default"
@ -38,7 +39,7 @@ android {
applicationId "net.gsantner.dandelior"
}
flavorTest {
flavorAtest {
applicationId "net.gsantner.secondlion"
versionCode = Integer.parseInt(new Date().format('yyMMdd'))
versionName = new Date().format('yyMMdd')