Update Gradle plugin to v8

This commit is contained in:
birdbird 2023-04-20 11:24:28 +00:00
parent 76eb89f5eb
commit 6694d6f60b
6 changed files with 16 additions and 6 deletions

View File

@ -3,12 +3,12 @@ Ultrasonic is a Subsonic (and compatible servers) client to Android. You can use
Main features:
* Thin
* Fast
* Dark and light theme
* Material theme with dark and light variants
* Multiple server support
* Offline Mode
* Bookmarks
* Playlists on server
* Ramdom play
* Random play
* Jukebox mode
* Server chat
* And much more!!!

View File

@ -4,10 +4,19 @@ org.gradle.configureondemand=true
org.gradle.caching=true
org.gradle.jvmargs=-Xmx2g -XX:+UseParallelGC
kotlin.incremental=true
kotlin.caching.enabled=true
kotlin.incremental.usePreciseJavaTracking=true
android.useAndroidX=true
android.enableJetifier=false
# This properties enables transitive Resource classes, which decreases build time,
# but could lead to problems referencing Resources. Set them to false if needed.
android.nonTransitiveRClass=true
android.nonFinalResIds=true
# This config was suggested by Android Studio to reduce build time
# It can be removed if it makes problems
org.gradle.unsafe.configuration-cache=true

View File

@ -3,7 +3,7 @@
gradle = "7.6"
navigation = "2.5.3"
gradlePlugin = "7.4.2"
gradlePlugin = "8.0.0"
androidxcore = "1.10.0"
ktlint = "0.43.2"
ktlintGradle = "11.3.1"

View File

@ -56,6 +56,7 @@ android {
buildFeatures {
viewBinding true
dataBinding true
buildConfig true
}
compileOptions {

View File

@ -7,7 +7,6 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

View File

@ -16,7 +16,8 @@ import timber.log.Timber
/**
* Provides filesystem access abstraction which works
* both on File based paths and Storage Access Framework Uris
* both on File based paths (when using the internal directory for storing media files)
* and Storage Access Framework Uris (when using a custom directory)
*/
object Storage {