build: update agp to 8.0.1

This commit is contained in:
Alexander Capehart 2023-05-12 16:28:05 -06:00
parent e2104c58b8
commit 5bf5687ccf
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
6 changed files with 17 additions and 14 deletions

View file

@ -30,12 +30,12 @@ android {
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_17
} }
kotlinOptions { kotlinOptions {
jvmTarget = "11" jvmTarget = "17"
freeCompilerArgs += "-Xjvm-default=all" freeCompilerArgs += "-Xjvm-default=all"
} }
@ -56,15 +56,16 @@ android {
} }
} }
} }
packagingOptions { packagingOptions {
exclude "DebugProbesKt.bin" jniLibs {
exclude "kotlin-tooling-metadata.json" excludes += ['**/kotlin/**', '**/okhttp3/**']
exclude "**/kotlin/**" }
exclude "**/okhttp3/**" resources {
exclude "META-INF/*.version" excludes += ['DebugProbesKt.bin', 'kotlin-tooling-metadata.json', '**/kotlin/**', '**/okhttp3/**', 'META-INF/*.version']
}
} }
buildFeatures { buildFeatures {
viewBinding true viewBinding true
} }

View file

@ -35,6 +35,6 @@ class StubTest {
@Test @Test
fun useAppContext() { fun useAppContext() {
val appContext = InstrumentationRegistry.getInstrumentation().targetContext val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("org.oxycblt.auxio", appContext.packageName) assertEquals("org.oxycblt.auxio.debug", appContext.packageName)
} }
} }

View file

@ -28,7 +28,6 @@ import kotlinx.parcelize.Parcelize
import org.oxycblt.auxio.music.Music import org.oxycblt.auxio.music.Music
import org.oxycblt.auxio.music.MusicRepository import org.oxycblt.auxio.music.MusicRepository
import org.oxycblt.auxio.music.Song import org.oxycblt.auxio.music.Song
import org.oxycblt.auxio.util.logD
/** /**
* A [ViewModel] managing the state of the playlist editing dialogs. * A [ViewModel] managing the state of the playlist editing dialogs.

View file

@ -11,7 +11,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.4.2' classpath 'com.android.tools.build:gradle:8.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.18.0" classpath "com.diffplug.spotless:spotless-plugin-gradle:6.18.0"

View file

@ -19,4 +19,7 @@ android.useAndroidX=true
android.enableJetifier=false android.enableJetifier=false
# Kotlin code style for this project: "official" or "obsolete": # Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official kotlin.code.style=official
android.enableR8.fullMode=true android.enableR8.fullMode=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

2
media

@ -1 +1 @@
Subproject commit 5346fe2e5c812756465e5cb255f388b0db5cf017 Subproject commit 4ab06ffd6039c038f2995f1a06bafed28bdd9be4