Renamed package to net.oranki.volfram and added extra version number .vfrm.X
This commit is contained in:
parent
fd6a45a3ae
commit
2e748a9f35
|
@ -38,6 +38,8 @@ ext.versionMinor = 6
|
||||||
// When creating a hotfix, you should decrease the value, since the current value
|
// When creating a hotfix, you should decrease the value, since the current value
|
||||||
// is the value for the next regular release.
|
// is the value for the next regular release.
|
||||||
ext.versionPatch = 5
|
ext.versionPatch = 5
|
||||||
|
// Volfram specific version number
|
||||||
|
ext.versionVfrm = 1
|
||||||
|
|
||||||
static def getGitTimestamp() {
|
static def getGitTimestamp() {
|
||||||
def cmd = 'git show -s --format=%ct'
|
def cmd = 'git show -s --format=%ct'
|
||||||
|
@ -145,7 +147,7 @@ android {
|
||||||
compileSdk versions.compileSdk
|
compileSdk versions.compileSdk
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "im.vector.app"
|
applicationId "net.oranki.volfram"
|
||||||
// Set to API 21: see #405
|
// Set to API 21: see #405
|
||||||
minSdk versions.minSdk
|
minSdk versions.minSdk
|
||||||
targetSdk versions.targetSdk
|
targetSdk versions.targetSdk
|
||||||
|
@ -249,7 +251,7 @@ android {
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
resValue "string", "app_name", "Element - dbg"
|
resValue "string", "app_name", "Volfram - dbg"
|
||||||
|
|
||||||
if (project.hasProperty("coverage")) {
|
if (project.hasProperty("coverage")) {
|
||||||
testCoverageEnabled = coverage == "true"
|
testCoverageEnabled = coverage == "true"
|
||||||
|
@ -257,7 +259,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
resValue "string", "app_name", "Element"
|
resValue "string", "app_name", "Volfram"
|
||||||
postprocessing {
|
postprocessing {
|
||||||
// FIXME Set to true.
|
// FIXME Set to true.
|
||||||
removeUnusedCode false
|
removeUnusedCode false
|
||||||
|
@ -320,14 +322,14 @@ android {
|
||||||
|
|
||||||
dimension "store"
|
dimension "store"
|
||||||
isDefault = true
|
isDefault = true
|
||||||
versionName "${versionMajor}.${versionMinor}.${versionPatch}${getGplayVersionSuffix()}"
|
versionName "${versionMajor}.${versionMinor}.${versionPatch}${getGplayVersionSuffix()}.vfrm.${versionVfrm}"
|
||||||
buildConfigField "String", "SHORT_FLAVOR_DESCRIPTION", "\"G\""
|
buildConfigField "String", "SHORT_FLAVOR_DESCRIPTION", "\"G\""
|
||||||
buildConfigField "String", "FLAVOR_DESCRIPTION", "\"GooglePlay\""
|
buildConfigField "String", "FLAVOR_DESCRIPTION", "\"GooglePlay\""
|
||||||
}
|
}
|
||||||
|
|
||||||
fdroid {
|
fdroid {
|
||||||
dimension "store"
|
dimension "store"
|
||||||
versionName "${versionMajor}.${versionMinor}.${versionPatch}${getFdroidVersionSuffix()}"
|
versionName "${versionMajor}.${versionMinor}.${versionPatch}${getFdroidVersionSuffix()}.vfrm.${versionVfrm}"
|
||||||
buildConfigField "String", "SHORT_FLAVOR_DESCRIPTION", "\"F\""
|
buildConfigField "String", "SHORT_FLAVOR_DESCRIPTION", "\"F\""
|
||||||
buildConfigField "String", "FLAVOR_DESCRIPTION", "\"FDroid\""
|
buildConfigField "String", "FLAVOR_DESCRIPTION", "\"FDroid\""
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:912726360885:android:4ef8f3a0021e774d",
|
"mobilesdk_app_id": "1:912726360885:android:4ef8f3a0021e774d",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "im.vector.app.debug"
|
"package_name": "net.oranki.volfram.debug"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [
|
"oauth_client": [
|
||||||
|
@ -37,4 +37,4 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"configuration_version": "1"
|
"configuration_version": "1"
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:912726360885:android:4ef8f3a0021e774d",
|
"mobilesdk_app_id": "1:912726360885:android:4ef8f3a0021e774d",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "im.vector.app.nightly"
|
"package_name": "net.oranki.volfram.nightly"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [
|
"oauth_client": [
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:912726360885:android:4ef8f3a0021e774d",
|
"mobilesdk_app_id": "1:912726360885:android:4ef8f3a0021e774d",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "im.vector.app"
|
"package_name": "net.oranki.volfram"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [
|
"oauth_client": [
|
||||||
|
@ -37,4 +37,4 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"configuration_version": "1"
|
"configuration_version": "1"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue