diff --git a/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle b/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle index 750a435d99..90c7c8d0d5 100644 --- a/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle +++ b/pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle @@ -37,7 +37,11 @@ android { manifestPlaceholders = {{ args.manifest_placeholders}} } - + lintOptions { + checkReleaseBuilds true + abortOnError false + } + packagingOptions { jniLibs { useLegacyPackaging = true @@ -49,7 +53,7 @@ android { exclude 'lib/**/gdb.setup' {%- endif %} } - + {% if args.sign -%} signingConfigs {