mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
gradle file: use flavour specific versionCode/versionName, fall back to parsing line by line
This commit is contained in:
parent
5cfa4d487f
commit
90c7dd29df
3 changed files with 110 additions and 16 deletions
|
@ -129,6 +129,21 @@ android {
|
|||
compileSdkVersion 21
|
||||
buildToolsVersion '22.0.1'
|
||||
|
||||
defaultConfig {
|
||||
|
||||
flavorDimensions "default"
|
||||
|
||||
productFlavors {
|
||||
devVersion {
|
||||
applicationId "org.fdroid.fdroid.dev"
|
||||
dimension "default"
|
||||
versionCode 949
|
||||
versionName "0.95-dev"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue