build: update deps

I didn't fully keep track of what I did this time, mostly since I was
busy wrangling some of the insane build issues from this gradle update.
This commit is contained in:
Alexander Capehart
2023-07-25 14:35:26 -06:00
parent 4b49174ced
commit 68a9ce7b09
45 changed files with 186 additions and 39 deletions
+9 -19
View File
@@ -2,33 +2,23 @@ buildscript {
ext {
kotlin_version = '1.9.0'
navigation_version = "2.6.0"
hilt_version = '2.46.1'
}
repositories {
google()
mavenCentral()
hilt_version = '2.47'
}
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"
// Hilt isn't compatible with the new plugin syntax yet.
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()
}
plugins {
id "com.android.application" version "8.1.0" apply false
id "androidx.navigation.safeargs.kotlin" version "$navigation_version" apply false
id "org.jetbrains.kotlin.android" version "$kotlin_version" apply false
id "com.google.devtools.ksp" version '1.9.0-1.0.12' apply false
id "com.diffplug.spotless" version "6.20.0" apply false
}
task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}