@@ -9,36 +9,14 @@ object Config {
99 val springBoot3Version = " 3.4.2"
1010 val kotlinCompatibleLanguageVersion = " 1.6"
1111
12- // see https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compatibility-and-versioning.html#kotlin-compatibility
13- // see https://developer.android.com/jetpack/androidx/releases/compose-kotlin
14- val composeVersion = " 1.6.11"
1512 val androidComposeCompilerVersion = " 1.5.14"
1613
1714 object BuildPlugins {
1815 val androidGradle = " com.android.tools.build:gradle:$AGP "
19- val buildConfig = " com.github.gmazzo.buildconfig"
20- val buildConfigVersion = " 5.6.5"
21- val springBoot = " org.springframework.boot"
22- val springDependencyManagement = " io.spring.dependency-management"
23- val springDependencyManagementVersion = " 1.0.11.RELEASE"
24- val gretty = " org.gretty"
25- val grettyVersion = " 4.0.0"
26- val gradleMavenPublishPlugin = " com.vanniktech.maven.publish"
27- val gradleMavenPublishPluginVersion = " 0.30.0"
28- val dokkaPlugin = " org.jetbrains.dokka:dokka-gradle-plugin:2.0.0"
29- val dokkaPluginAlias = " org.jetbrains.dokka"
30- val dokkaPluginJavadocAlias = " org.jetbrains.dokka-javadoc"
31- val composeGradlePlugin = " org.jetbrains.compose:compose-gradle-plugin:$composeVersion "
3216 val commonsCompressOverride = " org.apache.commons:commons-compress:1.25.0"
3317 }
3418
3519 object Android {
36- private val sdkVersion = 34
37-
38- val minSdkVersion = 21
39- val targetSdkVersion = sdkVersion
40- val compileSdkVersion = sdkVersion
41-
4220 val abiFilters = listOf (" x86" , " armeabi-v7a" , " x86_64" , " arm64-v8a" )
4321
4422 fun shouldSkipDebugVariant (name : String? ): Boolean {
@@ -57,7 +35,6 @@ object Config {
5735 private val lifecycleVersion = " 2.2.0"
5836 val lifecycleProcess = " androidx.lifecycle:lifecycle-process:$lifecycleVersion "
5937 val lifecycleCommonJava8 = " androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion "
60- val androidxCore = " androidx.core:core:1.3.2"
6138 val androidxSqlite = " androidx.sqlite:sqlite:2.3.1"
6239 val androidxRecylerView = " androidx.recyclerview:recyclerview:1.2.1"
6340 val androidxAnnotation = " androidx.annotation:annotation:1.9.1"
@@ -144,20 +121,6 @@ object Config {
144121 val kotlinReflect = " org.jetbrains.kotlin:kotlin-reflect"
145122 val kotlinStdLib = " org.jetbrains.kotlin:kotlin-stdlib"
146123
147- private val navigationVersion = " 2.4.2"
148- val navigationRuntime = " androidx.navigation:navigation-runtime:$navigationVersion "
149-
150- // compose deps
151- val composeNavigation = " androidx.navigation:navigation-compose:$navigationVersion "
152- val composeActivity = " androidx.activity:activity-compose:1.8.2"
153- val composeFoundation = " androidx.compose.foundation:foundation:1.6.3"
154- val composeUi = " androidx.compose.ui:ui:1.6.3"
155- val composeFoundationLayout = " androidx.compose.foundation:foundation-layout:1.6.3"
156- val composeMaterial = " androidx.compose.material3:material3:1.2.1"
157-
158- val composeUiReplay = " androidx.compose.ui:ui:1.5.0" // Note: don't change without testing forwards compatibility
159- val composeCoil = " io.coil-kt:coil-compose:2.6.0"
160-
161124 val apolloKotlin = " com.apollographql.apollo3:apollo-runtime:3.8.2"
162125 val apolloKotlin4 = " com.apollographql.apollo:apollo-runtime:4.1.1"
163126
@@ -188,57 +151,25 @@ object Config {
188151 }
189152
190153 object TestLibs {
191- private val espressoVersion = " 3.5.0"
192-
193154 val androidJUnitRunner = " androidx.test.runner.AndroidJUnitRunner"
194- val androidxCore = " androidx.test:core:1.6.1"
195- val androidxRunner = " androidx.test:runner:1.6.2"
196- val androidxTestCoreKtx = " androidx.test:core-ktx:1.6.1"
197- val androidxTestRules = " androidx.test:rules:1.6.1"
198- val espressoCore = " androidx.test.espresso:espresso-core:$espressoVersion "
199- val espressoIdlingResource = " androidx.test.espresso:espresso-idling-resource:$espressoVersion "
200- val androidxTestOrchestrator = " androidx.test:orchestrator:1.5.0"
201- val androidxJunit = " androidx.test.ext:junit:1.1.5"
202- val androidxCoreKtx = " androidx.core:core-ktx:1.7.0"
203- val robolectric = " org.robolectric:robolectric:4.14"
204- val mockitoKotlin = " org.mockito.kotlin:mockito-kotlin:4.1.0"
205- val mockitoInline = " org.mockito:mockito-inline:4.8.0"
206155 val awaitility = " org.awaitility:awaitility-kotlin:4.1.1"
207156 val awaitility3 = " org.awaitility:awaitility-kotlin:3.1.6" // need this due to a conflict of awaitility4+ and espresso on hamcrest
208- val mockWebserver = " com.squareup.okhttp3:mockwebserver:${Libs .okHttpVersion} "
209- val jsonUnit = " net.javacrumbs.json-unit:json-unit:2.32.0"
210157 val hsqldb = " org.hsqldb:hsqldb:2.6.1"
211158 val javaFaker = " com.github.javafaker:javafaker:1.0.2"
212159 val msgpack = " org.msgpack:msgpack-core:0.9.8"
213160 val leakCanaryInstrumentation = " com.squareup.leakcanary:leakcanary-android-instrumentation:2.14"
214161 val composeUiTestJunit4 = " androidx.compose.ui:ui-test-junit4:1.6.8"
215162 val okio = " com.squareup.okio:okio:1.13.0"
216- val coroutinesTest = " org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.1"
217163 }
218164
219165 object QualityPlugins {
220166 object Jacoco {
221- val version = " 0.8.7"
222-
223167 // TODO [POTEL] add tests and restore
224168 val minimumCoverage = BigDecimal .valueOf(0.1 )
225169 }
226- val spotless = " com.diffplug.spotless"
227- val spotlessVersion = " 6.11.0"
228- val errorProne = " net.ltgt.errorprone"
229- val errorpronePlugin = " net.ltgt.gradle:gradle-errorprone-plugin:3.0.1"
230- val gradleVersionsPlugin = " com.github.ben-manes:gradle-versions-plugin:0.42.0"
231- val gradleVersions = " com.github.ben-manes.versions"
232- val detekt = " io.gitlab.arturbosch.detekt"
233- val detektVersion = " 1.23.8"
170+
171+ // this can be removed when we upgrade to Gradle 8, which allows us to use a getter for the plugin ID
234172 val detektPlugin = " io.gitlab.arturbosch.detekt"
235- val binaryCompatibilityValidatorVersion = " 0.13.0"
236- val binaryCompatibilityValidatorPlugin = " org.jetbrains.kotlinx:binary-compatibility-validator:$binaryCompatibilityValidatorVersion "
237- val binaryCompatibilityValidator = " org.jetbrains.kotlinx.binary-compatibility-validator"
238- val jacocoAndroid = " com.mxalbert.gradle.jacoco-android"
239- val jacocoAndroidVersion = " 0.2.0"
240- val kover = " org.jetbrains.kotlinx.kover"
241- val koverVersion = " 0.7.3"
242173 }
243174
244175 object Sentry {
0 commit comments