fix some linter warnings + bump various dependencies + upgrade gradle

This commit is contained in:
Arne 2023-11-02 13:07:30 +01:00
parent 3da22a8b1b
commit 36185165d7
3 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.2'
classpath 'com.android.tools.build:gradle:8.2.0-rc02'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.10"
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.14.0"
classpath 'com.novoda:bintray-release:0.8.0'
@ -105,7 +105,7 @@ dependencies {
implementation "com.squareup.okhttp3:okhttp:4.11.0"
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.google.guava:guava:31.1-android'
implementation 'com.google.guava:guava:32.1.3-android'
implementation 'com.github.AppIntro:AppIntro:6.2.0'
implementation 'androidx.browser:browser:1.6.0'
implementation 'com.otaliastudios:transcoder:0.9.1' // 0.10.4 seems to be buggy
@ -115,7 +115,7 @@ dependencies {
implementation 'com.github.woltapp:blurhash:master'
implementation 'org.tomlj:tomlj:1.1.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
implementation 'io.michaelrocks:libphonenumber-android:8.12.49'
implementation 'io.michaelrocks:libphonenumber-android:8.13.17'
implementation 'io.github.nishkarsh:android-permissions:2.1.6'
implementation 'com.splitwise:tokenautocomplete:3.0.2'
implementation 'com.github.singpolyma:android-identicons:3361281bd4'
@ -261,7 +261,9 @@ android {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource', 'RestrictedApi'
error 'StringFormatInvalid', 'StringFormatMatches'
}
buildFeatures {
buildConfig true
}
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))

View file

@ -17,6 +17,5 @@ org.gradle.jvmargs=-Xmx6144m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF
android.enableJetifier=true
android.useAndroidX=true
org.gradle.gradle-args=--max-workers=32
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=true
android.nonFinalResIds=false

View file

@ -26,7 +26,6 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.CAMERA" />