Skip to content

Commit

Permalink
Simplify binary-compatibility-validator setup (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt authored Mar 12, 2024
1 parent b2c1a06 commit e94fdf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ nserrorkt = { module = "com.rickclephas.kmp:nserror-kt", version = "0.2.0" }

[plugins]
android-library = { id = "com.android.library", version = "8.3.0" }
api = { id = "binary-compatibility-validator", version = "0.14.0" }
api = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.14.0" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version = "1.9.23" }
kotlinter = { id = "org.jmailen.kotlinter", version = "4.2.0" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.27.0" }
Expand Down
12 changes: 0 additions & 12 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@ pluginManagement {
gradlePluginPortal()
google()
}

resolutionStrategy {
eachPlugin {
when {
requested.id.namespace == "com.android" ->
useModule("com.android.tools.build:gradle:${requested.version}")

requested.id.id == "binary-compatibility-validator" ->
useModule("org.jetbrains.kotlinx:binary-compatibility-validator:${requested.version}")
}
}
}
}

include(
Expand Down

0 comments on commit e94fdf5

Please sign in to comment.