File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed
Expand file tree Collapse file tree 3 files changed +20
-7
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 @@ -94,6 +94,10 @@ android {
9494
9595 defaultConfig {
9696 applicationId = " com.nextcloud.client"
97+ // NMC: to avoid merge conflicts, we do not change the original version settings.
98+ // NMC: Instead, we override the local values with our own here and not touch the definition above.
99+ versionMajor = 7
100+ // NMC: end
97101 minSdk = 27
98102 targetSdk = 36
99103 compileSdk = 36
@@ -116,12 +120,9 @@ android {
116120 )
117121 testInstrumentationRunnerArguments[" disableAnalytics" ] = " true"
118122
119- versionCode = versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
120- versionName = when {
121- versionBuild > 89 -> " ${versionMajor} .${versionMinor} .${versionPatch} "
122- versionBuild > 50 -> " ${versionMajor} .${versionMinor} .${versionPatch} RC" + (versionBuild - 50 )
123- else -> " ${versionMajor} .${versionMinor} .${versionPatch} Alpha" + (versionBuild + 1 )
124- }
123+ // using short version number for more readability for NMC
124+ versionCode Integer .parseInt(" ${versionMajor}${versionMinor}${versionPatch}${versionBuild} " )
125+ versionName " ${versionMajor} .${versionMinor} .${versionPatch} "
125126
126127 // adapt structure from Eclipse to Gradle/Android Studio expectations;
127128 // 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 @@ -22,4 +22,5 @@ org.gradle.daemon=true
2222org.gradle.configuration-cache =true
2323
2424# Needed for local libs
25- # org.gradle.dependency.verification=lenient
25+ # uncomment below line for NMC Customization so that build won't fail due to gradle dependency verification
26+ org.gradle.dependency.verification =lenient
You can’t perform that action at this time.
0 commit comments