build: update agp to 8.0.1
This commit is contained in:
parent
e2104c58b8
commit
5bf5687ccf
6 changed files with 17 additions and 14 deletions
|
@ -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,14 +56,15 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
exclude "DebugProbesKt.bin"
|
jniLibs {
|
||||||
exclude "kotlin-tooling-metadata.json"
|
excludes += ['**/kotlin/**', '**/okhttp3/**']
|
||||||
exclude "**/kotlin/**"
|
|
||||||
exclude "**/okhttp3/**"
|
|
||||||
exclude "META-INF/*.version"
|
|
||||||
}
|
}
|
||||||
|
resources {
|
||||||
|
excludes += ['DebugProbesKt.bin', 'kotlin-tooling-metadata.json', '**/kotlin/**', '**/okhttp3/**', 'META-INF/*.version']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
viewBinding true
|
viewBinding true
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -20,3 +20,6 @@ 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
2
media
|
@ -1 +1 @@
|
||||||
Subproject commit 5346fe2e5c812756465e5cb255f388b0db5cf017
|
Subproject commit 4ab06ffd6039c038f2995f1a06bafed28bdd9be4
|
Loading…
Reference in a new issue