- 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>
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>
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>