File tree Expand file tree Collapse file tree 3 files changed +24
-14
lines changed
Expand file tree Collapse file tree 3 files changed +24
-14
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+
112 GNU GENERAL PUBLIC LICENSE
213 Version 2, June 1991
314
Original file line number Diff line number Diff line change @@ -100,6 +100,10 @@ android {
100100
101101
102102 defaultConfig {
103+ // NMC: to avoid merge conflicts, we do not change the original version settings.
104+ // NMC: Instead, we override the local values with our own here and not touch the definition above.
105+ versionMajor = 7
106+ // NMC: end
103107 minSdkVersion 24
104108 targetSdkVersion 34
105109 compileSdk 34
@@ -126,15 +130,9 @@ android {
126130
127131 multiDexEnabled true
128132
129- versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
130-
131- if (versionBuild > 89 ) {
132- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
133- } else if (versionBuild > 50 ) {
134- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} RC" + (versionBuild - 50 )
135- } else {
136- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} Alpha" + (versionBuild + 1 )
137- }
133+ // using short version number for more readability for NMC
134+ versionCode Integer . parseInt(" ${ versionMajor}${ versionMinor}${ versionPatch} " )
135+ versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
138136
139137 // adapt structure from Eclipse to Gradle/Android Studio expectations;
140138 // see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
@@ -171,15 +169,15 @@ android {
171169 versionDev {
172170 applicationId " com.nextcloud.android.beta"
173171 dimension " default"
174- versionCode 20220322
175- versionName " 20220322 "
172+ versionCode 71200129
173+ versionName " 71200129 "
176174 }
177175
178176 qa {
179177 applicationId " com.nextcloud.android.qa"
180178 dimension " default"
181- versionCode 1
182- versionName " 1"
179+ versionCode 74
180+ versionName " 1.74 "
183181 }
184182 }
185183
Original file line number Diff line number Diff line change @@ -21,4 +21,5 @@ org.gradle.parallel=true
2121org.gradle.configureondemand =true
2222
2323# 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