22import java.math.BigDecimal
33
44object Config {
5- val AGP = System .getenv(" VERSION_AGP" ) ? : " 7.4.2 "
6- val kotlinVersion = " 1.8.0 "
5+ val AGP = System .getenv(" VERSION_AGP" ) ? : " 8.6.0 "
6+ val kotlinVersion = " 1.9.24 "
77 val kotlinStdLib = " stdlib-jdk8"
88
99 val springBootVersion = " 2.7.5"
1010 val springBoot3Version = " 3.4.2"
11- val kotlinCompatibleLanguageVersion = " 1.4 "
11+ val kotlinCompatibleLanguageVersion = " 1.6 "
1212
13- val composeVersion = " 1.5.3"
14- val androidComposeCompilerVersion = " 1.4.0"
13+ // see https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compatibility-and-versioning.html#kotlin-compatibility
14+ // see https://developer.android.com/jetpack/androidx/releases/compose-kotlin
15+ val composeVersion = " 1.6.11"
16+ val androidComposeCompilerVersion = " 1.5.14"
1517
1618 object BuildPlugins {
1719 val androidGradle = " com.android.tools.build:gradle:$AGP "
@@ -23,8 +25,9 @@ object Config {
2325 val springDependencyManagementVersion = " 1.0.11.RELEASE"
2426 val gretty = " org.gretty"
2527 val grettyVersion = " 4.0.0"
26- val gradleMavenPublishPlugin = " com.vanniktech:gradle-maven-publish-plugin:0.18.0"
27- val dokkaPlugin = " org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
28+ val gradleMavenPublishPlugin = " com.vanniktech.maven.publish"
29+ val gradleMavenPublishPluginVersion = " 0.30.0"
30+ val dokkaPlugin = " org.jetbrains.dokka:dokka-gradle-plugin:1.9.20"
2831 val dokkaPluginAlias = " org.jetbrains.dokka"
2932 val composeGradlePlugin = " org.jetbrains.compose:compose-gradle-plugin:$composeVersion "
3033 val commonsCompressOverride = " org.apache.commons:commons-compress:1.25.0"
@@ -39,7 +42,7 @@ object Config {
3942
4043 val abiFilters = listOf (" x86" , " armeabi-v7a" , " x86_64" , " arm64-v8a" )
4144
42- fun shouldSkipDebugVariant (name : String ): Boolean {
45+ fun shouldSkipDebugVariant (name : String? ): Boolean {
4346 return System .getenv(" CI" )?.toBoolean() ? : false && name == " debug"
4447 }
4548 }
@@ -58,6 +61,7 @@ object Config {
5861 val androidxCore = " androidx.core:core:1.3.2"
5962 val androidxSqlite = " androidx.sqlite:sqlite:2.3.1"
6063 val androidxRecylerView = " androidx.recyclerview:recyclerview:1.2.1"
64+ val androidxAnnotation = " androidx.annotation:annotation:1.9.1"
6165
6266 val slf4jApi = " org.slf4j:slf4j-api:1.7.30"
6367 val slf4jApi2 = " org.slf4j:slf4j-api:2.0.5"
@@ -142,14 +146,14 @@ object Config {
142146
143147 // compose deps
144148 val composeNavigation = " androidx.navigation:navigation-compose:$navigationVersion "
145- val composeActivity = " androidx.activity:activity-compose:1.4.0"
146- val composeFoundation = " androidx.compose.foundation:foundation:$composeVersion "
147- val composeUi = " androidx.compose.ui:ui:$composeVersion "
149+ val composeActivity = " androidx.activity:activity-compose:1.8.2"
150+ val composeFoundation = " androidx.compose.foundation:foundation:1.6.3"
151+ val composeUi = " androidx.compose.ui:ui:1.6.3"
152+ val composeFoundationLayout = " androidx.compose.foundation:foundation-layout:1.6.3"
153+ val composeMaterial = " androidx.compose.material3:material3:1.2.1"
148154
149155 val composeUiReplay = " androidx.compose.ui:ui:1.5.0" // Note: don't change without testing forwards compatibility
150- val composeFoundationLayout = " androidx.compose.foundation:foundation-layout:$composeVersion "
151- val composeMaterial = " androidx.compose.material3:material3:1.0.0-alpha13"
152- val composeCoil = " io.coil-kt:coil-compose:2.0.0"
156+ val composeCoil = " io.coil-kt:coil-compose:2.6.0"
153157
154158 val apolloKotlin = " com.apollographql.apollo3:apollo-runtime:3.8.2"
155159
@@ -193,7 +197,7 @@ object Config {
193197 val androidxTestOrchestrator = " androidx.test:orchestrator:1.5.0"
194198 val androidxJunit = " androidx.test.ext:junit:1.1.5"
195199 val androidxCoreKtx = " androidx.core:core-ktx:1.7.0"
196- val robolectric = " org.robolectric:robolectric:4.10.3 "
200+ val robolectric = " org.robolectric:robolectric:4.14 "
197201 val mockitoKotlin = " org.mockito.kotlin:mockito-kotlin:4.1.0"
198202 val mockitoInline = " org.mockito:mockito-inline:4.8.0"
199203 val awaitility = " org.awaitility:awaitility-kotlin:4.1.1"
@@ -220,7 +224,7 @@ object Config {
220224 val gradleVersionsPlugin = " com.github.ben-manes:gradle-versions-plugin:0.42.0"
221225 val gradleVersions = " com.github.ben-manes.versions"
222226 val detekt = " io.gitlab.arturbosch.detekt"
223- val detektVersion = " 1.19.0 "
227+ val detektVersion = " 1.23.5 "
224228 val detektPlugin = " io.gitlab.arturbosch.detekt"
225229 val binaryCompatibilityValidatorVersion = " 0.13.0"
226230 val binaryCompatibilityValidatorPlugin = " org.jetbrains.kotlinx:binary-compatibility-validator:$binaryCompatibilityValidatorVersion "
0 commit comments