update Gradle (Christian Schneppe)

This commit is contained in:
12aw 2022-05-23 19:17:59 +02:00
parent 1b3b3a31f9
commit 0703694dfe
5 changed files with 17 additions and 25 deletions

View file

@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.2.0'
}
}
@ -97,7 +97,7 @@ ext {
}
android {
namespace 'eu.siacs.conversations'
//noinspection GradleCompatible
compileSdkVersion 31
@ -128,12 +128,12 @@ android {
}
packagingOptions {
//X86
exclude "lib/x86/**"
//X86_64
exclude "lib/x86_64/**"
//armeabi
//exclude "lib/armeabi/**"
jniLibs {
excludes += ['lib/x86/**', 'lib/x86_64/**']
}
resources {
excludes += ['lib/x86/**', 'lib/x86_64/**', 'META-INF/BCKEY.DSA', 'META-INF/BCKEY.SF']
}
}
compileOptions {
@ -190,13 +190,6 @@ android {
}
}
lintOptions {
error 'StringFormatInvalid' , 'StringFormatMatches'
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource', 'RestrictedApi'
checkReleaseBuilds true
abortOnError false
}
subprojects {
afterEvaluate {
@ -211,8 +204,10 @@ android {
}
}
packagingOptions {
exclude 'META-INF/BCKEY.DSA'
exclude 'META-INF/BCKEY.SF'
lint {
abortOnError false
checkReleaseBuilds true
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource', 'RestrictedApi'
error 'StringFormatInvalid', 'StringFormatMatches'
}
}

View file

@ -1,6 +1,6 @@
#Wed Feb 16 16:19:55 CET 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.siacs.conversations">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />

View file

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="eu.siacs.conversations">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />

View file

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="eu.siacs.conversations">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />