diff --git a/.bettercodehub.yml b/.bettercodehub.yml index 349f7675..d7be5169 100644 --- a/.bettercodehub.yml +++ b/.bettercodehub.yml @@ -1,3 +1,3 @@ -component_depth: 8 +component_depth: 10 languages: - kotlin diff --git a/.circleci/config.yml b/.circleci/config.yml index cad32112..ce2922ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,7 +98,7 @@ jobs: command: yes | sdkmanager --licenses && yes | sdkmanager --update - run: name: Setup emulator - command: sdkmanager "system-images;android-19;default;armeabi-v7a" && echo "no" | avdmanager create avd -n test -k "system-images;android-19;default;armeabi-v7a" + command: sdkmanager "system-images;android-22;default;armeabi-v7a" && echo "no" | avdmanager create avd -n test -k "system-images;android-22;default;armeabi-v7a" - run: name: Launch emulator command: export LD_LIBRARY_PATH=${ANDROID_HOME}/emulator/lib64:${ANDROID_HOME}/emulator/lib64/qt/lib && emulator64-arm -avd test -noaudio -no-boot-anim -no-window -accel on @@ -116,7 +116,7 @@ jobs: adb shell input keyevent 82 - run: name: Run instrumented tests - command: ./gradlew clean createPlayDebugCoverageReport jacocoTestReport --no-daemon --stacktrace --console=plain -PdisablePreDex + command: ./gradlew clean createFdroidDebugCoverageReport jacocoTestReport --no-daemon --stacktrace --console=plain -PdisablePreDex - run: name: Collect logs from emulator command: adb logcat -d > ./app/build/reports/logcat_emulator.txt diff --git a/.gitignore b/.gitignore index 63783326..d3fb6e4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,39 +1,91 @@ -/captures -.externalNativeBuild - -## https://gist.github.com/iainconnor/8605514 +# Created by https://www.gitignore.io # Built application files -/build -/*/build/ +*.apk +*.ap_ +*.aab -# Crashlytics configuations -com_crashlytics_export_strings.xml +# Files for the ART/Dalvik VM +*.dex + +# Java class files +*.class + +# Generated files +bin/ +gen/ +out/ + +# Gradle files +.gradle/ +build/ # Local configuration file (sdk path, etc) local.properties -# Gradle generated files -.gradle/ +# Proguard folder generated by Eclipse +proguard/ -# Signing files -.signing/ +# Log Files +*.log -# User-specific configurations -.idea/copyright/profiles_settings.xml +# Android Studio Navigation editor temp files +.navigation/ + +# Android Studio captures folder +captures/ + +# IntelliJ configurations +*.iml +.idea/workspace.xml +.idea/tasks.xml +.idea/gradle.xml +.idea/assetWizardSettings.xml +.idea/dictionaries +.idea/libraries +.idea/caches +.idea/modules.xml +.idea/navEditor.xml +.idea/caches/ .idea/libraries/ -.idea/inspectionProfiles/ +.idea/shelf/ .idea/.name .idea/compiler.xml +.idea/copyright/profiles_settings.xml .idea/encodings.xml .idea/misc.xml -.idea/modules.xml .idea/scopes/scope_settings.xml -.idea/tasks.xml .idea/vcs.xml -.idea/workspace.xml -.idea/caches/ -*.iml +.idea/jsLibraryMappings.xml +.idea/datasources.xml +.idea/dataSources.ids +.idea/sqlDataSources.xml +.idea/dynamic.xml +.idea/uiDesigner.xml +.idea/runConfigurations.xml +.idea/discord.xml + +# Keystore files +*.jks +*.keystore +*.p12 + +# External native build folder generated in Android Studio 2.2 and later +.externalNativeBuild + +# Version control +vcs.xml + +# lint +lint/intermediates/ +lint/generated/ +lint/outputs/ +lint/tmp/ +lint/reports/ + +### Android Patch ### +gen-external-apklibs +output.json # OS-specific files .DS_Store @@ -43,9 +95,21 @@ local.properties .Trashes ehthumbs.db Thumbs.db -.idea/caches/ -app/key.p12 -app/upload-key.jks -*.log -.idea/assetWizardSettings.xml -.idea/uiDesigner.xml + +# Legacy Eclipse project files +.classpath +.project +.cproject +.settings/ + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.war +*.ear + +### AndroidStudio Patch ### + +!/gradle/wrapper/gradle-wrapper.jar +.idea/jarRepositories.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 43e9b544..d66c3361 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,9 +1,6 @@