Compare commits
16 Commits
master
...
upstream-r
Author | SHA1 | Date |
---|---|---|
sk | 28f6d00530 | |
sk | a3b6decb72 | |
sk | aafb08d7b3 | |
sk | 2433d457b6 | |
sk | 9ad0bc2454 | |
sk | b79c769001 | |
sk | b7dd376066 | |
sk | 46081bed3e | |
sk | 7053f4acb6 | |
sk | 64e85f6992 | |
sk | aee27d36d5 | |
sk | 165255235b | |
sk | 144fdd562f | |
sk | 5d6201d415 | |
sk | efe41f407e | |
sk | e5e36f4b10 |
|
@ -4,21 +4,31 @@ plugins {
|
|||
}
|
||||
|
||||
android {
|
||||
def getGitHash = { ->
|
||||
def stdout = new ByteArrayOutputStream()
|
||||
exec {
|
||||
commandLine 'git', 'rev-parse', '--short', 'upstream/master'
|
||||
standardOutput = stdout
|
||||
}
|
||||
return stdout.toString().trim()
|
||||
}
|
||||
|
||||
compileSdk 33
|
||||
defaultConfig {
|
||||
applicationId "org.joinmastodon.android"
|
||||
archivesBaseName = "upstream-${getGitHash()}"
|
||||
applicationId "org.joinmastodon.android.git"
|
||||
minSdk 23
|
||||
targetSdk 33
|
||||
versionCode 47
|
||||
versionName "1.1.5"
|
||||
versionName "1.1.5+${getGitHash()}"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "kab", "ko-rKR", "nl-rNL", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "vi-rVN", "zh-rCN", "zh-rTW"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
// minifyEnabled true
|
||||
// shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug{
|
||||
|
|
Loading…
Reference in New Issue