Skip to content

Commit

Permalink
use version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Feb 21, 2024
1 parent 57cacde commit aeb85ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
implementation(libs.poet.kotlin)
implementation(libs.intellij.plugin)
implementation(libs.intellij.changelog)
implementation("com.android.lint:com.android.lint.gradle.plugin:8.2.2")
implementation(libs.androidx.lint.gradle.plugin)

// We want the KSP plugin to use the version from the classpath and not force a newer version
// of the Gradle plugin
Expand Down
2 changes: 2 additions & 0 deletions gradle/libraries.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ androidx-activity = "androidx.activity:activity-ktx:1.7.2"
androidx-annotation = { group = "androidx.annotation", name = "annotation", version = "1.6.0" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.6.1" }
androidx-espresso-idlingresource = { group = "androidx.test.espresso", name = "espresso-idling-resource", version = "3.5.1" }
androidx-lint-rules = "androidx.lint:lint-gradle:1.0.0-alpha01"
androidx-lint-gradle-plugin = "com.android.lint:com.android.lint.gradle.plugin:8.2.2"
androidx-profileinstaller = "androidx.profileinstaller:profileinstaller:1.3.1"
androidx-sqlite = { group = "androidx.sqlite", name = "sqlite", version.ref = "androidx-sqlite" }
androidx-sqlite-framework = { group = "androidx.sqlite", name = "sqlite-framework", version.ref = "androidx-sqlite" }
Expand Down
2 changes: 1 addition & 1 deletion libraries/apollo-gradle-plugin-external/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
implementation(libs.kotlinx.serialization.json)
}
dependencies {
lintChecks("androidx.lint:lint-gradle:1.0.0-alpha01")
lintChecks(libs.androidx.lint.rules)
}

gradlePlugin {
Expand Down

0 comments on commit aeb85ee

Please sign in to comment.