Álvaro Brey Vilas
21ed337184
build: Disable LeakCanary unless manually activated with a property
...
Use `./gradlew installGplayDebug -P "leakCanary"`, for example, to activate it.
LeakCanary dramatically slows down normal development work due to app freezes for memory dumps.
This way we can avoid that, but still use it when we want to check for leaks. I don't think leaks should be a primary focus right now,
since we have other stuff to work on first.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-29 11:43:11 +02:00
Álvaro Brey
c20c3e4066
Merge pull request #10014 from nextcloud/spotbugs-improvements
...
Spotbugs improvements
2022-04-27 11:34:35 +02:00
Álvaro Brey
23dd1f30f1
Merge pull request #10113 from nextcloud/chore/unit-tests-gh-actions
...
Run unit tests in GH actions
2022-04-27 11:21:49 +02:00
dependabot[bot]
f93e65872a
Bump firebase-messaging from 23.0.2 to 23.0.3
...
Bumps firebase-messaging from 23.0.2 to 23.0.3.
---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 08:09:10 +00:00
Álvaro Brey Vilas
21a432dc9e
Generate spotbugs summary from xml
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas
c850d14fc0
spotbugs: Use fancy stylesheet
...
MUCH more readable and easier to find stuff
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 08:07:32 +00:00
Álvaro Brey Vilas
3b80d4dc1f
build: Remove combinedTestReport task
...
It's not working properly (complains about no classes, empty report), AND codecov should merge unit and integration coverages for us anyway
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-27 06:13:49 +00:00
Álvaro Brey
b3b3376c5b
Merge pull request #10069 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.9.0
...
Bump emoji-google from 0.8.0 to 0.9.0
2022-04-26 18:21:06 +02:00
dependabot[bot]
de0bcbb279
Bump shot from 5.13.0 to 5.14.0
...
Bumps [shot](https://github.com/pedrovgs/shot ) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/pedrovgs/shot/releases )
- [Commits](https://github.com/pedrovgs/shot/compare/5.13.0...5.14.0 )
---
updated-dependencies:
- dependency-name: com.karumi:shot
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 02:12:53 +00:00
dependabot[bot]
0b08f95361
Bump leakcanary-android from 2.9 to 2.9.1
...
Bumps [leakcanary-android](https://github.com/square/leakcanary ) from 2.9 to 2.9.1.
- [Release notes](https://github.com/square/leakcanary/releases )
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md )
- [Commits](https://github.com/square/leakcanary/compare/v2.9...v2.9.1 )
---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 01:05:49 +00:00
dependabot[bot]
f17cb72f99
Bump leakcanary-android from 2.8.1 to 2.9
...
Bumps [leakcanary-android](https://github.com/square/leakcanary ) from 2.8.1 to 2.9.
- [Release notes](https://github.com/square/leakcanary/releases )
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md )
- [Commits](https://github.com/square/leakcanary/compare/v2.8.1...v2.9 )
---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 01:05:33 +00:00
dependabot[bot]
8610bc7ba3
Bump emoji-google from 0.8.0 to 0.9.0
...
Bumps [emoji-google](https://github.com/vanniktech/Emoji ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases )
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vanniktech/Emoji/compare/0.8.0...0.9.0 )
---
updated-dependencies:
- dependency-name: com.vanniktech:emoji-google
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 09:26:42 +00:00
dependabot[bot]
7ed1b84375
Bump detekt-gradle-plugin from 1.19.0 to 1.20.0
...
Bumps detekt-gradle-plugin from 1.19.0 to 1.20.0.
---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-15 01:09:47 +00:00
tobiasKaminsky
cf932e69e7
Fastscroll for all lists
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-12 08:04:23 +02:00
dependabot[bot]
f8f46e62b9
Bump gradle from 7.1.2 to 7.1.3
...
Bumps gradle from 7.1.2 to 7.1.3.
---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 01:32:06 +00:00
Álvaro Brey
d97edf023d
Merge pull request #10051 from nextcloud/fdroid-no-scan
...
Don't include document scanner in FDroid version
2022-04-07 12:46:08 +02:00
dependabot[bot]
d33a3ce9e4
Bump findsecbugs-plugin from 1.11.0 to 1.12.0
...
Bumps [findsecbugs-plugin](https://github.com/find-sec-bugs/find-sec-bugs ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/find-sec-bugs/find-sec-bugs/releases )
- [Changelog](https://github.com/find-sec-bugs/find-sec-bugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/find-sec-bugs/find-sec-bugs/commits )
---
updated-dependencies:
- dependency-name: com.h3xstream.findsecbugs:findsecbugs-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 01:13:27 +00:00
Álvaro Brey Vilas
9827612010
Don't include document scanner in FDroid version
...
Not allowed due to binary OpenCV
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-06 14:43:05 +02:00
Tobias Kaminsky
646f857890
daily dev 20220322
...
Update Nextcloud Android library
2022-03-22 08:03:02 +01:00
Álvaro Brey
a9bc999574
Merge pull request #9991 from nextcloud/dependabot/gradle/org.json-json-20220320
...
Bump json from 20211205 to 20220320
2022-03-21 10:48:01 +01:00
dependabot[bot]
abf14b52cf
Bump firebase-messaging from 20.1.3 to 23.0.2
...
Bumps firebase-messaging from 20.1.3 to 23.0.2.
---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 09:40:09 +01:00
dependabot[bot]
5cadf81c43
Bump json from 20211205 to 20220320
...
Bumps [json](https://github.com/douglascrockford/JSON-java ) from 20211205 to 20220320.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases )
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md )
- [Commits](https://github.com/douglascrockford/JSON-java/commits )
---
updated-dependencies:
- dependency-name: org.json:json
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 02:06:05 +00:00
Álvaro Brey
b70eeaae3a
Merge pull request #9977 from nextcloud/chore/ktlint-gradle
...
Use ktlint plugin instead of manual ktlint tasks
2022-03-16 13:05:23 +01:00
Álvaro Brey
ad13f544ee
Merge pull request #9974 from nextcloud/chore/espresso-intents-version
...
build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
2022-03-16 13:00:49 +01:00
Álvaro Brey Vilas
3597fb0a53
Use ktlint plugin instead of manual ktlint tasks
...
- Recommended by ktlint
- Analyzes sources for all sourcesets without extra config
- Less gradle code to maintain
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-16 11:30:39 +01:00
Álvaro Brey Vilas
d6f32eb5ce
build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-16 10:01:04 +01:00
Álvaro Brey Vilas
ec98c5db52
Centralize NDK and CMAKE versions
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 14:43:05 +01:00
Álvaro Brey Vilas
12ce7c2837
build: Specify NDK version (optional install)
...
If this + CMake is installed, native libraries are correctly stripped, and then APK size is reduced.
If not installed, everything still works as we don't actually need to compile any native stuff.
If `ndkVersion` is not specified, then the default version for Android Gradle Plugin is expected,
and stripping will not work even if other NDK version is installed. So it's better to use a
specific version, to prevent it from stopping working in the future.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 10:29:20 +01:00
Álvaro Brey Vilas
d23d20f31b
Fix git hooks for new source location
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:42:11 +01:00
Álvaro Brey Vilas
d8e5691366
Fix detekt and ktlint for new source path
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:23:31 +01:00
Álvaro Brey Vilas
e57176f009
Move app source to subproject
...
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:10:51 +01:00