mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
Refactor buildSrc and update dependencies
This commit refactors the `buildSrc` module by: - Removing the `setupLibraryDefaults()` extension function from `ProjectConfig.kt` as its functionality is largely covered by standard Gradle plugin configurations. - Inlining version numbers for Moshi and various testing libraries directly into `Dependencies.kt`, removing them from `Versions.kt`. This simplifies version management for these specific libraries. - Removing unused version declarations from `Versions.kt`. Additionally, this commit updates the following dependencies: - Kotlin from 2.1.21 to 2.2.10 - Android Gradle Plugin from 8.11.0 to 8.12.2 - KSP from 2.1.21-2.0.1 to 2.2.10-2.0.2 - Dagger from 2.56.2 to 2.57.1 - AndroidX Navigation from 2.8.9 to 2.9.3 The `targetSdk` was also removed from the `app-common` module's `defaultConfig` as it's typically inherited or set at the app level.
This commit is contained in:
@@ -5,36 +5,12 @@ object Versions {
|
||||
}
|
||||
|
||||
object Dagger {
|
||||
const val core = "2.56.2"
|
||||
}
|
||||
|
||||
object Moshi {
|
||||
const val core = "1.15.2"
|
||||
const val core = "2.57.1"
|
||||
}
|
||||
|
||||
object AndroidX {
|
||||
const val core = ""
|
||||
|
||||
object Navigation {
|
||||
const val core = "2.8.9"
|
||||
const val core = "2.9.3"
|
||||
}
|
||||
|
||||
object Testing {
|
||||
const val coreKtx = "1.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
object Junit {
|
||||
const val legacy = "4.13.2"
|
||||
const val jupiter = "5.7.1"
|
||||
}
|
||||
|
||||
object Mockk {
|
||||
const val core = "1.12.4"
|
||||
const val android = "1.12.4"
|
||||
}
|
||||
|
||||
object Kotest {
|
||||
const val core = "4.6.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user