Skip to content

Commit c75ed8d

Browse files
committed
Exclude a duplicate file
1 parent 45795c1 commit c75ed8d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

composeApp/build.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ kotlin {
8080

8181
configurations.all {
8282
exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-debug")
83+
// Exclude the duplicate annotations to resolve the conflict
84+
exclude(group = "com.sschr15.annotations", module = "jb-annotations-kmp-jvm")
8385
}
8486

8587
fun MinimalExternalModuleDependency.simpleString() =
8688
this.let { "${it.module}:${it.versionConstraint.requiredVersion}" }
8789

8890
android {
89-
compileSdk = 34 // for example
90-
9191
namespace = "com.example.project"
9292
compileSdk = libs.versions.android.compileSdk.get().toInt()
9393

@@ -96,7 +96,6 @@ android {
9696
sourceSets["main"].resources.srcDirs("src/commonMain/resources")
9797

9898
defaultConfig {
99-
minSdk = 30
10099
applicationId = "com.example.project"
101100
minSdk = libs.versions.android.minSdk.get().toInt()
102101
targetSdk = libs.versions.android.targetSdk.get().toInt()

0 commit comments

Comments
 (0)