diff --git a/gradle-plugin/build.gradle.kts b/gradle-plugin/build.gradle.kts index ea1d8e2a7d..caa0077b4e 100644 --- a/gradle-plugin/build.gradle.kts +++ b/gradle-plugin/build.gradle.kts @@ -33,7 +33,7 @@ dependencies { testImplementation(libs.google.truth) testImplementation(gradleTestKit()) - lintChecks("androidx.lint:lint-gradle:1.0.0-alpha05") + lintChecks(libs.androidx.lintGradle) } kotlin { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index de08502fbb..8edf9b9f20 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -19,6 +19,10 @@ aa-trove4j = "1.0.20200330" aa-log4j = "1.2.17.2" aa-jdom = "2.0.6" aa-coroutines = "1.10.2" +aa-annotations = "24.1.0" +aa-lz4 = "1.7.1" +aa-opentelemetry = "1.34.1" +androidx-lintGradle = "1.0.0-alpha05" aa-collections-immutable = "0.3.4" aa-caffeine = "2.9.3" aa-javax-inject = "1" @@ -52,6 +56,10 @@ aa-jdom = { module = "org.jetbrains.intellij.deps:jdom", version.ref = "aa-jdom" aa-collectionsImmutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable-jvm", version.ref = "aa-collections-immutable" } aa-caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version.ref = "aa-caffeine" } aa-javaxInject = { module = "javax.inject:javax.inject", version.ref = "aa-javax-inject" } +aa-annotations = { module = "org.jetbrains:annotations", version.ref = "aa-annotations" } +aa-lz4 = { module = "org.lz4:lz4-java", version.ref = "aa-lz4" } +aa-opentelemetry = { module = "io.opentelemetry:opentelemetry-api", version.ref = "aa-opentelemetry" } +androidx-lintGradle = { module = "androidx.lint:lint-gradle", version.ref = "androidx-lintGradle" } [plugins] nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version = "2.0.0" } diff --git a/kotlin-analysis-api/build.gradle.kts b/kotlin-analysis-api/build.gradle.kts index f2c84653e7..0db09d1a46 100644 --- a/kotlin-analysis-api/build.gradle.kts +++ b/kotlin-analysis-api/build.gradle.kts @@ -174,7 +174,7 @@ dependencies { implementation(files(filteredLog4j)) implementation(libs.aa.jdom) { isTransitive = false } implementation(libs.aa.javaxInject) - implementation("org.lz4:lz4-java:1.7.1") { isTransitive = false } + implementation(libs.aa.lz4) { isTransitive = false } compileOnly(libs.kotlinx.coroutines.coreJvm) compileOnly(libs.kotlinx.coroutines.core) implementation( @@ -182,9 +182,9 @@ dependencies { ) { isTransitive = false } - implementation("org.jetbrains:annotations:24.1.0") + implementation(libs.aa.annotations) - implementation("io.opentelemetry:opentelemetry-api:1.34.1") { isTransitive = false } + implementation(libs.aa.opentelemetry) { isTransitive = false } compileOnly(project(":common-deps"))