Skip to content

Commit

Permalink
License, Build version configuration and User agent updated for the f…
Browse files Browse the repository at this point in the history
…ollowing branches:

nmcfeat/1240-license-branding
feature/NMCLOUD-703
feature/NMC-1904
  • Loading branch information
surinder-tsys committed Feb 14, 2024
1 parent f59caa7 commit da2a0a0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
11 changes: 11 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Although the code for this android client is free and available under the GPL2 license, Deutsche Telekom
(including T-Systems) fully reserves all rights to the Telekom brand. To prevent users from getting confused about
the source of a digital product or experience, there are stringent restrictions on using the Telekom brand and design,
even when built into code that we provide. For any customization other than explicitly for Telekom or T-Systems, you must
replace the Deutsche Telekom and T-Systems brand elements contained in the provided sources.

To help you identify the brand elements, see:
./drawable: folder contains brand-design specific icons or images
Brand-protected Magenta colour definitions are (unfortunately) spread over the source code.


GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Expand Down
22 changes: 8 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ configurations.configureEach {
}

// semantic versioning for version code
def versionMajor = 3
def versionMajor = 7
def versionMinor = 29
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
Expand Down Expand Up @@ -107,15 +107,9 @@ android {

multiDexEnabled true

versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild

if (versionBuild > 89) {
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
} else if (versionBuild > 50) {
versionName "${versionMajor}.${versionMinor}.${versionPatch} RC" + (versionBuild - 50)
} else {
versionName "${versionMajor}.${versionMinor}.${versionPatch} Alpha" + (versionBuild + 1)
}
//using short version number for more readability for NMC
versionCode Integer.parseInt("${versionMajor}${versionMinor}${versionPatch}")
versionName "${versionMajor}.${versionMinor}.${versionPatch}"

// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
Expand Down Expand Up @@ -152,15 +146,15 @@ android {
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20220322
versionName "20220322"
versionCode 71200129
versionName "71200129"
}

qa {
applicationId "com.nextcloud.android.qa"
dimension "default"
versionCode 1
versionName "1"
versionCode 74
versionName "1.74"
}
}

Expand Down

0 comments on commit da2a0a0

Please sign in to comment.