
Update the app to target API 34, alongside all dependencies that expect such. This finally fixes some long-standing issues in newer version of MDC, thus allowing me to remove the divider backport as well. More work is required for predictive back (don't even know where I start with that...), but this is a good start.
34 lines
No EOL
885 B
Groovy
34 lines
No EOL
885 B
Groovy
buildscript {
|
|
ext {
|
|
kotlin_version = '1.8.22'
|
|
navigation_version = "2.6.0"
|
|
hilt_version = '2.46.1'
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.0.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
|
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.18.0"
|
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |