commit bc13faa3aee9107b4a2d95761bd818bdd7206c84 parent 75c1db7cadd58a6933bbc00006d4ba1b29751720 Author: Iván Ávalos <avalos@disroot.org> Date: Wed, 26 Feb 2025 14:45:42 +0100 [donau-verificator] Add linting config Diffstat:
| M | donau-verificator/build.gradle | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/donau-verificator/build.gradle b/donau-verificator/build.gradle @@ -83,12 +83,28 @@ android { // Exclude everything under META-INF to avoid conflicts resources.excludes.add("META-INF/**/*") } + externalNativeBuild { cmake { path file('src/main/cpp/CMakeLists.txt') version '3.22.1' } } + + splits { + abi { + // can not be defined per flavor, so we use a property to turn this on for F-Droid + enable project.hasProperty('splitApk') + reset() // Resets the list of ABIs to remove all included by default + include "armeabi-v7a", "arm64-v8a", "x86", "x86_64" + universalApk false + } + } + + lint { + abortOnError true + ignoreWarnings false + } } dependencies {