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+
112 GNU GENERAL PUBLIC LICENSE
213 Version 2, June 1991
314
Original file line number Diff line number Diff line change @@ -105,6 +105,10 @@ android {
105105
106106 defaultConfig {
107107 applicationId " com.nextcloud.client"
108+ // NMC: to avoid merge conflicts, we do not change the original version settings.
109+ // NMC: Instead, we override the local values with our own here and not touch the definition above.
110+ versionMajor = 7
111+ // NMC: end
108112 minSdkVersion 24
109113 targetSdkVersion 34
110114 compileSdk 34
@@ -129,15 +133,9 @@ android {
129133 testInstrumentationRunnerArgument " TEST_SERVER_PASSWORD" , " ${ NC_TEST_SERVER_PASSWORD} "
130134 testInstrumentationRunnerArguments disableAnalytics : ' true'
131135
132- versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
133-
134- if (versionBuild > 89 ) {
135- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
136- } else if (versionBuild > 50 ) {
137- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} RC" + (versionBuild - 50 )
138- } else {
139- versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} Alpha" + (versionBuild + 1 )
140- }
136+ // using short version number for more readability for NMC
137+ versionCode Integer . parseInt(" ${ versionMajor}${ versionMinor}${ versionPatch}${ versionBuild} " )
138+ versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
141139
142140 // adapt structure from Eclipse to Gradle/Android Studio expectations;
143141 // 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
2121org.gradle.configureondemand =true
2222
2323# Needed for local libs
24- # org.gradle.dependency.verification=lenient
24+ # uncomment 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