瀏覽代碼

Merge pull request #9960 from nextcloud/chore/modern-gradle-structure

Move app source to subproject, as per current gradle standards
Álvaro Brey 3 年之前
父節點
當前提交
fbfa7fa746
共有 100 個文件被更改,包括 485 次插入24 次删除
  1. 1 1
      .codecov.yml
  2. 3 3
      .drone.yml
  3. 3 3
      .github/workflows/qa.yml
  4. 1 1
      .github/workflows/screenShotTest.yml
  5. 2 2
      .tx/config
  6. 17 14
      SETUP.md
  7. 1 0
      app/.gitignore
  8. 457 0
      app/build.gradle
  9. 0 0
      app/detekt.yml
  10. 0 0
      app/lint.xml
  11. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_empty.png
  12. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_empty_light_white.png
  13. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_error.png
  14. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_error_light_white.png
  15. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_loading.png
  16. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer.png
  17. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_black.png
  18. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_blue.png
  19. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_white.png
  20. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_black.png
  21. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_white.png
  22. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_showActivities.png
  23. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_showActivities_light_white.png
  24. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login.png
  25. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_black.png
  26. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_blue.png
  27. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_white.png
  28. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_light_black.png
  29. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_light_white.png
  30. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open.png
  31. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_black.png
  32. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_blue.png
  33. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_white.png
  34. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_light_black.png
  35. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_light_white.png
  36. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_shareToCircle.png
  37. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_showAccounts.png
  38. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_showShares.png
  39. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer.png
  40. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_black.png
  41. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_blue.png
  42. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_white.png
  43. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_light_black.png
  44. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_light_white.png
  45. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open.png
  46. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_black.png
  47. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_blue.png
  48. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_white.png
  49. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_light_black.png
  50. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_light_white.png
  51. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_showMediaThenAllFiles.png
  52. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open.png
  53. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_black.png
  54. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_blue.png
  55. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_white.png
  56. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_light_black.png
  57. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_light_white.png
  58. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open.png
  59. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_black.png
  60. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_blue.png
  61. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_white.png
  62. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_light_black.png
  63. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_light_white.png
  64. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error.png
  65. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_black.png
  66. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_blue.png
  67. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_white.png
  68. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_light_black.png
  69. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_light_white.png
  70. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open.png
  71. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer.png
  72. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_dark_blue.png
  73. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_dark_white.png
  74. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_light_white.png
  75. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_black.png
  76. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_blue.png
  77. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_white.png
  78. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_light_black.png
  79. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_light_white.png
  80. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog.png
  81. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_black.png
  82. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_blue.png
  83. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_white.png
  84. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_light_black.png
  85. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_light_white.png
  86. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer.png
  87. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_black.png
  88. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_blue.png
  89. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_white.png
  90. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_light_black.png
  91. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_light_white.png
  92. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_accounts.png
  93. 0 0
      app/screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_overview.png
  94. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth.png
  95. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_black.png
  96. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_blue.png
  97. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_white.png
  98. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_light_black.png
  99. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_light_white.png
  100. 0 0
      app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepExisting.png

+ 1 - 1
.codecov.yml

@@ -20,5 +20,5 @@ github_checks:
     annotations: false
 
 ignore:
-  - "src/main/res/values*/*"
+  - "app/src/main/res/values*/*"
 

+ 3 - 3
.drone.yml

@@ -19,7 +19,7 @@ steps:
     commands:
       - scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
       - emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
-      - sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
+      - sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
       - sed -i s"#server#server#" gradle.properties
       - ./gradlew assembleGplay
       - ./gradlew assembleGplayDebug
@@ -83,7 +83,7 @@ steps:
     commands:
       - scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
       - emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
-      - sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
+      - sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
       - scripts/runCombinedTest.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
 
 services:
@@ -137,7 +137,7 @@ steps:
         from_secret: LOG_PASSWORD
     commands:
       - emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
-      - sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
+      - sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
       - sed -i s'#showOnlyFailingTestsInReports = ciBuild#showOnlyFailingTestsInReports = false#' build.gradle
       - scripts/wait_for_emulator.sh
       - scripts/runAllScreenshotCombinations noCI false

+ 3 - 3
.github/workflows/qa.yml

@@ -29,8 +29,8 @@ jobs:
                 run: |
                     mkdir -p $HOME/.gradle
                     echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
-                    sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" build.gradle
-                    sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" build.gradle
+                    sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" app/build.gradle
+                    sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" app/build.gradle
                     ./gradlew assembleQaDebug
-                    $(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign  --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks build/outputs/apk/qa/debug/qa-debug-*.apk
+                    $(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign  --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks app/build/outputs/apk/qa/debug/qa-debug-*.apk
                     sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}

+ 1 - 1
.github/workflows/screenShotTest.yml

@@ -81,5 +81,5 @@ jobs:
                 if: ${{ always() }}
                 with:
                     name: Report-${{ matrix.color }}-${{ matrix.scheme }}
-                    path: build/reports
+                    path: app/build/reports
                     retention-days: 4

文件差異過大導致無法顯示
+ 2 - 2
.tx/config


+ 17 - 14
SETUP.md

@@ -89,20 +89,23 @@ The app is currently equipped to be built with three flavours:
 #### 1. Direct usage of library project
 
 This is handy if one wants to make changes both to files app and library:
-- in files app root: ln -s $pathToLibraryProject nextcloud-android-library
-- uncomment in build.gradle:  
-    - `//    implementation project('nextcloud-android-library')`
-- comment in build.gradle:
-   ``` 
-      implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
-        exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
-    }
-  ```   
-- comment in settings.gradle: 
-    - `include ':'`
-- add in settings.gradle: 
-    - `include 'nextcloud-android-library'`
-- sync project with gradle files
+- In the repository root: `ln -s [path to library clone] nextcloud-android-library`
+- Add the following to `settings.gradle`:
+  ```groovy
+  include ':nextcloud-android-library'
+  ```
+- In `app/build.gradle`, replace the following:  
+  ```groovy 
+  implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
+    exclude group: 'org.ogce', module: 'xpp3'
+  }
+  ```
+  with:
+  ``` groovy
+  implementation project(':nextcloud-android-library')
+  ```
+
+- Sync project with gradle files
 
 Now every change in library can be directly used in files app.
 

+ 1 - 0
app/.gitignore

@@ -0,0 +1 @@
+/build

+ 457 - 0
app/build.gradle

@@ -0,0 +1,457 @@
+import com.github.spotbugs.snom.SpotBugsTask
+import org.gradle.internal.jvm.Jvm
+
+buildscript {
+    dependencies {
+        classpath 'com.android.tools.build:gradle:7.1.2'
+        classpath 'com.hiya:jacoco-android:0.2'
+        classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.6'
+        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+        classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
+        classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
+        classpath 'com.karumi:shot:5.13.0'
+        classpath "org.jacoco:org.jacoco.core:$jacoco_version"
+        classpath "org.jacoco:org.jacoco.report:$jacoco_version"
+        classpath "org.jacoco:org.jacoco.agent:$jacoco_version"
+    }
+}
+
+apply plugin: 'com.android.application'
+
+apply plugin: 'kotlin-android'
+apply plugin: 'kotlin-kapt'
+apply plugin: 'kotlin-parcelize'
+apply plugin: 'checkstyle'
+apply plugin: 'pmd'
+apply plugin: 'com.hiya.jacoco-android'
+apply plugin: 'com.github.spotbugs'
+apply plugin: 'io.gitlab.arturbosch.detekt'
+apply plugin: 'shot'
+
+println "Gradle uses Java ${Jvm.current()}"
+
+configurations {
+    ktlint
+
+    all {
+        exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
+
+        // check for updates every build
+        resolutionStrategy {
+            cacheChangingModulesFor 0, 'seconds'
+            exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
+        }
+    }
+}
+
+
+configurations.configureEach {
+    resolutionStrategy.eachDependency {
+        if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
+            useVersion(checkerVersion)
+            because("https://github.com/google/ExoPlayer/issues/10007")
+        }
+    }
+}
+
+repositories {
+    google()
+    maven { url "https://jitpack.io" }
+    mavenCentral()
+    maven {
+        url 'https://plugins.gradle.org/m2/'
+    }
+}
+
+// semantic versioning for version code
+def versionMajor = 3
+def versionMinor = 20
+def versionPatch = 0
+def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
+
+android {
+
+    compileSdkVersion 31
+
+    defaultConfig {
+        minSdkVersion 23
+        targetSdkVersion 30
+
+        buildConfigField 'boolean', 'CI', ciBuild.toString()
+
+        // arguments to be passed to functional tests
+        testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
+        testInstrumentationRunnerArgument "TEST_SERVER_URL", "${NC_TEST_SERVER_BASEURL}"
+        testInstrumentationRunnerArgument "TEST_SERVER_USERNAME", "${NC_TEST_SERVER_USERNAME}"
+        testInstrumentationRunnerArgument "TEST_SERVER_PASSWORD", "${NC_TEST_SERVER_PASSWORD}"
+        testInstrumentationRunnerArguments disableAnalytics: 'true'
+
+        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)
+        }
+
+        // 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
+
+        flavorDimensions "default"
+
+        buildTypes {
+            debug {
+                testCoverageEnabled (project.hasProperty('coverage'))
+            }
+        }
+
+        productFlavors {
+            // used for f-droid
+            generic {
+                applicationId 'com.nextcloud.client'
+                dimension "default"
+            }
+
+            gplay {
+                applicationId 'com.nextcloud.client'
+                dimension "default"
+            }
+
+            huawei {
+                applicationId 'com.nextcloud.client'
+                dimension "default"
+            }
+
+            versionDev {
+                applicationId "com.nextcloud.android.beta"
+                dimension "default"
+                versionCode 20200129
+                versionName "20200129"
+            }
+
+            qa {
+                applicationId "com.nextcloud.android.qa"
+                dimension "default"
+                versionCode 1
+                versionName "1"
+            }
+        }
+
+        testOptions {
+            unitTests.returnDefaultValues = true
+            animationsDisabled true
+        }
+    }
+
+    // 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
+    packagingOptions {
+        resources {
+            excludes += ['META-INF/LICENSE.txt', 'META-INF/LICENSE']
+        }
+    }
+
+    tasks.register("checkstyle", Checkstyle) {
+        configFile = file("${rootProject.projectDir}/checkstyle.xml")
+        configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
+        source 'src'
+        include '**/*.java'
+        exclude '**/gen/**'
+        classpath = files()
+    }
+
+    tasks.register("pmd", Pmd) {
+        ruleSetFiles = files("${project.rootDir}/ruleset.xml")
+        ignoreFailures = true // should continue checking
+        ruleSets = []
+
+        source 'src'
+        include '**/*.java'
+        exclude '**/gen/**'
+
+        reports {
+            xml.enabled = false
+            html.enabled = true
+            xml {
+                destination = file("$project.buildDir/reports/pmd/pmd.xml")
+            }
+            html {
+                destination = file("$project.buildDir/reports/pmd/pmd.html")
+            }
+        }
+    }
+
+    check.dependsOn 'checkstyle', 'spotbugsGplayDebugReport', 'pmd', 'lint', 'ktlint', 'detekt'
+
+    buildFeatures {
+        dataBinding true
+        viewBinding true
+    }
+
+    kotlinOptions {
+        jvmTarget = "1.8"
+    }
+
+    lint {
+        abortOnError false
+        checkGeneratedSources true
+        disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'InvalidPeriodicWorkRequestInterval', 'StringFormatInvalid', 'MissingQuantity'
+        htmlOutput file("$project.buildDir/reports/lint/lint.html")
+        htmlReport true
+    }
+
+}
+
+dependencies {
+    // dependencies for app building
+    implementation 'androidx.multidex:multidex:2.0.1'
+//    implementation project('nextcloud-android-library')
+    implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
+        exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
+    }
+
+    compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' // remove after entire switch to lib v2
+    implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
+    implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
+    implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
+    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+    implementation 'com.google.android.material:material:1.5.0'
+    implementation 'com.jakewharton:disklrucache:2.0.2'
+    implementation 'androidx.appcompat:appcompat:1.4.1'
+    implementation 'androidx.webkit:webkit:1.4.0'
+    implementation 'androidx.cardview:cardview:1.0.0'
+    implementation 'androidx.exifinterface:exifinterface:1.3.3'
+    implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1"
+    implementation "androidx.work:work-runtime:$workRuntime"
+    implementation "androidx.work:work-runtime-ktx:$workRuntime"
+    implementation "androidx.fragment:fragment-ktx:1.4.1"
+    implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
+    compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
+    implementation 'commons-io:commons-io:2.11.0'
+    implementation 'org.greenrobot:eventbus:3.3.1'
+    implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
+    implementation 'org.lukhnos:nnio:0.2'
+    implementation 'org.bouncycastle:bcpkix-jdk15to18:1.70'
+    implementation 'com.google.code.gson:gson:2.9.0'
+    implementation 'com.afollestad:sectioned-recyclerview:0.5.0'
+    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
+    implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'
+    implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
+    implementation 'com.google.android:flexbox:2.0.1'
+    implementation('com.github.bumptech.glide:glide:3.8.0') {
+        exclude group: "com.android.support"
+    }
+    implementation 'com.caverock:androidsvg:1.4'
+    implementation 'androidx.annotation:annotation:1.3.0'
+    implementation 'com.vanniktech:emoji-google:0.8.0'
+
+    implementation "com.github.cotechde.hwsecurity:hwsecurity-fido:$fidoVersion"
+    implementation "com.github.cotechde.hwsecurity:hwsecurity-fido2:$fidoVersion"
+
+    implementation 'com.github.zynkware:Document-Scanning-Android-SDK:1.0.1'
+
+    spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
+    spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
+
+    implementation "com.google.dagger:dagger:$daggerVersion"
+    implementation "com.google.dagger:dagger-android:$daggerVersion"
+    implementation "com.google.dagger:dagger-android-support:$daggerVersion"
+    kapt "com.google.dagger:dagger-compiler:$daggerVersion"
+    kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
+
+    ktlint "com.pinterest:ktlint:0.44.0"
+    implementation 'org.conscrypt:conscrypt-android:2.5.2'
+
+    implementation "com.google.android.exoplayer:exoplayer:$exoplayerVersion"
+    implementation "com.google.android.exoplayer:extension-okhttp:$exoplayerVersion"
+
+    // Shimmer animation
+    implementation 'com.elyeproj.libraries:loaderviewlibrary:2.0.0'
+
+    // dependencies for markdown rendering
+    implementation "io.noties.markwon:core:$markwonVersion"
+    implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
+    implementation "io.noties.markwon:ext-tables:$markwonVersion"
+    implementation "io.noties.markwon:ext-tasklist:$markwonVersion"
+    implementation "io.noties.markwon:html:$markwonVersion"
+
+    implementation "io.noties.markwon:syntax-highlight:$markwonVersion"
+    implementation "io.noties:prism4j:$prismVersion"
+    kapt "io.noties:prism4j-bundler:$prismVersion"
+
+    implementation ('org.mnode.ical4j:ical4j:1.0.8') {
+        ['org.apache.commons','commons-logging'].each {
+            exclude group: "$it"
+        }
+    }
+
+    if (!ciBuild) {
+        debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
+    }
+
+    // dependencies for local unit tests
+    testImplementation 'junit:junit:4.13.2'
+    testImplementation "org.mockito:mockito-core:$mockitoVersion"
+    testImplementation "androidx.test:core:$androidxTestVersion"
+    testImplementation "org.powermock:powermock-core:$powermockVersion"
+    testImplementation "org.powermock:powermock-module-junit4:$powermockVersion"
+    testImplementation "org.powermock:powermock-api-mockito2:$powermockVersion"
+    testImplementation 'org.json:json:20211205'
+    testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
+    testImplementation 'androidx.arch.core:core-testing:2.1.0'
+    testImplementation "io.mockk:mockk:$mockkVersion"
+    testImplementation "io.mockk:mockk-android:$mockkVersion"
+
+    // dependencies for instrumented tests
+    // JUnit4 Rules
+    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+    androidTestImplementation "androidx.test:rules:$androidxTestVersion"
+    // Android JUnit Runner
+    androidTestImplementation "androidx.test:runner:$androidxTestVersion"
+    androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
+
+    // Espresso core
+    androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
+    androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
+    androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
+    androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espressoVersion"
+
+    // Mocking support
+    androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
+    androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
+    androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
+    androidTestImplementation("org.mockito:mockito-android:$mockitoVersion") {
+        exclude group: "net.bytebuddy", module: "byte-buddy-android"
+    }
+    androidTestImplementation "net.bytebuddy:byte-buddy:$byteBuddyVersion"
+    androidTestImplementation "net.bytebuddy:byte-buddy-android:$byteBuddyVersion"
+    androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
+    androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
+    androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
+
+    // UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
+    // androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
+    // fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
+    //androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
+    androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
+    implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
+    androidTestImplementation('androidx.test.espresso:espresso-intents:3.4.0')
+
+    implementation "com.github.stateless4j:stateless4j:2.6.0"
+
+    // upon each update first test: new registration, receive push
+    gplayImplementation "com.google.firebase:firebase-messaging:20.1.3"
+}
+
+configurations.all {
+    resolutionStrategy{
+        cacheChangingModulesFor 0, 'seconds'
+        force 'org.objenesis:objenesis:2.6'
+        eachDependency { details ->
+            if ('org.jacoco' == details.requested.group) {
+                details.useVersion "$jacoco_version"
+            }
+        }
+    }
+
+}
+
+tasks.withType(Test) {
+    // increased logging for tests
+    testLogging {
+        events "passed", "skipped", "failed"
+    }
+}
+
+android.applicationVariants.all { variant ->
+    variant.outputs.all { output ->
+        outputFileName = "${output.baseName}-${variant.versionCode}.apk"
+    }
+}
+
+tasks.register("combinedTestReport", JacocoReport) {
+
+    jacocoClasspath = configurations['jacocoAnt']
+
+    reports {
+        xml.enabled true
+        html.enabled true
+        csv.enabled false
+    }
+
+    additionalSourceDirs.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
+    sourceDirectories.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
+    classDirectories.setFrom files(subprojects.sourceSets.main.output)
+    executionData.setFrom project.fileTree(dir: project.buildDir, includes: [
+        'jacoco/testGplayDebugUnitTest.exec', 'outputs/code-coverage/connected/flavors/GPLAY/*coverage.ec'
+    ])
+}
+
+task ktlint(type: JavaExec, group: "verification") {
+    description = "Check Kotlin code style."
+    main = "com.pinterest.ktlint.Main"
+    classpath = configurations.ktlint
+    args "--reporter=plain", "--reporter=plain,output=${buildDir}/ktlint.txt,${projectDir}/src/**/*.kt"
+}
+
+task ktlintFormat(type: JavaExec, group: "formatting") {
+    description = "Fix Kotlin code style deviations."
+    main = "com.pinterest.ktlint.Main"
+    classpath = configurations.ktlint
+    args "-F", "${projectDir}/src/**/*.kt"
+}
+
+task installGitHooks(type: Copy, group: "development") {
+    description = "Install git hooks"
+    from("${project.rootDir}/scripts/hooks") {
+        include '*'
+    }
+    into "${project.rootDir}/.git/hooks"
+}
+
+detekt {
+    reports {
+        xml {
+            enabled = false
+        }
+    }
+    config = files("detekt.yml")
+}
+
+shot {
+    showOnlyFailingTestsInReports = ciBuild
+    // CI environment renders some shadows slightly different from local VMs
+    // Add a 0.5% tolerance to account for that
+    tolerance = ciBuild ? 0.5: 0
+}
+
+jacoco {
+    toolVersion = "$jacoco_version"
+}
+
+spotbugs {
+    ignoreFailures = true // should continue checking
+    effort = "max"
+    reportLevel = "medium"
+}
+
+tasks.withType(SpotBugsTask){task ->
+    String variantNameCap = task.name.replace("spotbugs", "")
+    String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
+
+    dependsOn "compile${variantNameCap}Sources"
+
+    excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
+    classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
+    reports {
+        xml.enabled = false
+        html {
+            enabled = true
+            destination = file("$project.buildDir/reports/spotbugs/spotbugs.html")
+        }
+    }
+}

+ 0 - 0
detekt.yml → app/detekt.yml


+ 0 - 0
lint.xml → app/lint.xml


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_empty.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_empty.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_empty_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_empty_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_error.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_error.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_error_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_error_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_loading.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_loading.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_showActivities.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_showActivities.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_showActivities_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_showActivities_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login.png → app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.AuthenticatorActivityIT_login_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open.png → app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.CommunityActivityIT_open_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_shareToCircle.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_shareToCircle.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_showAccounts.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_showAccounts.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_showShares.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityIT_showShares.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_drawer_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_open_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_showMediaThenAllFiles.png → app/screenshots/gplay/debug/com.nextcloud.client.FileDisplayActivityScreenshotIT_showMediaThenAllFiles.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open.png → app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.FirstRunActivityIT_open_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_open_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SettingsActivityIT_showMnemonic_Error_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_openDrawer_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_open_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.SyncedFoldersActivityIT_testSyncedFolderDialog_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer.png → app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_black.png → app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_blue.png → app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_white.png → app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_light_black.png → app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_light_white.png → app/screenshots/gplay/debug/com.nextcloud.client.UploadListActivityActivityIT_openDrawer_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_accounts.png → app/screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_accounts.png


+ 0 - 0
screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_overview.png → app/screenshots/gplay/debug/com.nextcloud.client.etm.EtmActivityTest_overview.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_black.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_black.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_blue.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_blue.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_white.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_dark_white.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_light_black.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_light_black.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_light_white.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepBoth_light_white.png


+ 0 - 0
screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepExisting.png → app/screenshots/gplay/debug/com.owncloud.android.ui.activity.ConflictsResolveActivityIT_keepExisting.png


部分文件因文件數量過多而無法顯示