build: upgrade deps

This commit is contained in:
Alexander Capehart
2025-12-31 20:38:13 -07:00
parent 6a88755b7d
commit a69908e986
2 changed files with 22 additions and 18 deletions
+15 -11
View File
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
id "com.android.application"
id "kotlin-android"
@@ -10,9 +12,9 @@ plugins {
}
android {
compileSdk target_sdk
// Auxio implicitly depends on the native modules, explicitly specify it
// here so the libraries are still stripped.
compileSdk target_sdk
ndkVersion ndk_version
namespace "org.oxycblt.auxio"
@@ -33,11 +35,6 @@ android {
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
freeCompilerArgs += "-Xjvm-default=all"
}
buildTypes {
debug {
applicationIdSuffix ".debug"
@@ -71,6 +68,13 @@ android {
}
}
kotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_17
freeCompilerArgs.add("-Xjvm-default=all")
}
}
dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -85,7 +89,7 @@ dependencies {
// General
implementation "androidx.core:core-ktx:$core_version"
implementation "androidx.appcompat:appcompat:1.7.1"
implementation "androidx.activity:activity-ktx:1.10.1"
implementation "androidx.activity:activity-ktx:1.12.2"
// noinspection GradleDependency
implementation "androidx.fragment:fragment-ktx:1.6.2"
@@ -101,7 +105,7 @@ dependencies {
implementation "androidx.viewpager2:viewpager2:1.0.0"
// Lifecycle
def lifecycle_version = "2.9.2"
def lifecycle_version = "2.10.0"
implementation "androidx.lifecycle:lifecycle-common:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
@@ -112,7 +116,7 @@ dependencies {
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
// Media
implementation "androidx.media:media:1.7.0"
implementation "androidx.media:media:1.7.1"
// Android Auto
implementation "androidx.car.app:app:1.7.0"
@@ -145,7 +149,7 @@ dependencies {
// Material
// TODO: Exactly figure out the conditions that the 1.7.0 ripple bug occurred so you can just
// PR a fix.
implementation "com.google.android.material:material:1.13.0-beta01"
implementation "com.google.android.material:material:1.13.0"
// Dependency Injection
implementation "com.google.dagger:dagger:$hilt_version"
@@ -163,5 +167,5 @@ dependencies {
implementation 'com.joaomgcd:taskerpluginlibrary:0.4.10'
// Fuzzy search
implementation 'org.apache.commons:commons-text:1.14.0'
implementation 'org.apache.commons:commons-text:1.15.0'
}
+7 -7
View File
@@ -1,12 +1,12 @@
buildscript {
ext {
agp_version = '8.11.1'
agp_version = '8.13.2'
kotlin_version = '2.2.0'
kotlin_coroutines_version = '1.10.2'
navigation_version = "2.9.2"
hilt_version = '2.57'
room_version = '2.7.2'
core_version = '1.16.0'
navigation_version = "2.9.6"
hilt_version = '2.57.2'
room_version = '2.8.4'
core_version = '1.17.0'
desugaring_version = '2.1.3'
min_sdk = 24
@@ -18,7 +18,7 @@ buildscript {
dependencies {
// Hilt isn't compatible with the new plugin syntax yet.
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:2.0.0"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:2.1.0"
}
}
@@ -32,7 +32,7 @@ plugins {
id "org.jetbrains.kotlin.android" version "$kotlin_version" apply false
id "com.google.devtools.ksp" version '2.2.0-2.0.2' apply false
// We use spotless in the root build.gradle to apply to all modules.
id "com.diffplug.spotless" version "6.25.0" apply true
id "com.diffplug.spotless" version "8.1.0" apply true
}
spotless {