File tree Expand file tree Collapse file tree 3 files changed +20
-10
lines changed Expand file tree Collapse file tree 3 files changed +20
-10
lines changed Original file line number Diff line number Diff line change
1
+ Although the code for this android client is free and available under the GPL2 license, Deutsche Telekom
2
+ (including T-Systems) fully reserves all rights to the Telekom brand. To prevent users from getting confused about
3
+ the source of a digital product or experience, there are stringent restrictions on using the Telekom brand and design,
4
+ even when built into code that we provide. For any customization other than explicitly for Telekom or T-Systems, you must
5
+ replace the Deutsche Telekom and T-Systems brand elements contained in the provided sources.
6
+
7
+ To help you identify the brand elements, see:
8
+ ./drawable: folder contains brand-design specific icons or images
9
+ Brand-protected Magenta colour definitions are (unfortunately) spread over the source code.
10
+
11
+
1
12
GNU GENERAL PUBLIC LICENSE
2
13
Version 2, June 1991
3
14
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ android {
104
104
}
105
105
106
106
defaultConfig {
107
+ // NMC: to avoid merge conflicts, we do not change the original version settings.
108
+ // NMC: Instead, we override the local values with our own here and not touch the definition above.
109
+ versionMajor = 7
110
+ // NMC: end
107
111
minSdkVersion 24
108
112
targetSdkVersion 34
109
113
compileSdk 34
@@ -128,15 +132,9 @@ android {
128
132
testInstrumentationRunnerArgument " TEST_SERVER_PASSWORD" , " ${ NC_TEST_SERVER_PASSWORD} "
129
133
testInstrumentationRunnerArguments disableAnalytics : ' true'
130
134
131
- versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
132
-
133
- if (versionBuild > 89 ) {
134
- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
135
- } else if (versionBuild > 50 ) {
136
- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} RC" + (versionBuild - 50 )
137
- } else {
138
- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} Alpha" + (versionBuild + 1 )
139
- }
135
+ // using short version number for more readability for NMC
136
+ versionCode Integer . parseInt(" ${ versionMajor}${ versionMinor}${ versionPatch}${ versionBuild} " )
137
+ versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
140
138
141
139
// adapt structure from Eclipse to Gradle/Android Studio expectations;
142
140
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
Original file line number Diff line number Diff line change @@ -21,4 +21,5 @@ org.gradle.parallel=true
21
21
org.gradle.configureondemand =true
22
22
23
23
# Needed for local libs
24
- # org.gradle.dependency.verification=lenient
24
+ # uncommented below line for NMC Customization so that build won't fail due to gradle dependency verification
25
+ org.gradle.dependency.verification =lenient
You can’t perform that action at this time.
0 commit comments