From 01cf47b26eaedb9d00ee15303e6d9ae8c57b0db2 Mon Sep 17 00:00:00 2001 From: Brad Corso Date: Wed, 8 Sep 2021 09:43:33 -0700 Subject: [PATCH] Update ksp dependency to latest version on maven central This change allows users to get the dependency from maven central rather than google's repository. This CL also removes the google repo from our (non-android) dagger tests/examples to validate that this repository is no longer needed. The android tests/examples still require this repository for AGP. Fixes #2779 RELNOTES=Fixes #2779: Updates ksp dependency to latest version on maven central. PiperOrigin-RevId: 395493523 --- WORKSPACE | 2 +- examples/maven/pom.xml | 8 -------- javatests/artifacts/dagger/simple/build.gradle | 1 - javatests/artifacts/dagger/simpleKotlin/build.gradle | 1 - tools/shader/build.gradle | 1 - 5 files changed, 1 insertion(+), 12 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index f7ca36acd54..1f8bbeb9ccd 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -163,7 +163,7 @@ maven_install( "com.android.tools.lint:lint-tests:%s" % ANDROID_LINT_VERSION, "com.android.tools:testutils:%s" % ANDROID_LINT_VERSION, "com.github.tschuchortdev:kotlin-compile-testing:1.2.8", - "com.google.devtools.ksp:symbol-processing-api:1.5.20-1.0.0-beta03", + "com.google.devtools.ksp:symbol-processing-api:1.5.30-1.0.0", "com.google.guava:guava:27.1-android", "junit:junit:4.13", "org.jetbrains.kotlin:kotlin-stdlib:%s" % KOTLIN_VERSION, diff --git a/examples/maven/pom.xml b/examples/maven/pom.xml index 9eb81be03f5..be21b9649e0 100644 --- a/examples/maven/pom.xml +++ b/examples/maven/pom.xml @@ -17,14 +17,6 @@ 4.0.0 - - - google-maven - Google Maven Repo - https://maven.google.com - - - org.sonatype.oss oss-parent diff --git a/javatests/artifacts/dagger/simple/build.gradle b/javatests/artifacts/dagger/simple/build.gradle index a45736f9492..97c966e50e5 100644 --- a/javatests/artifacts/dagger/simple/build.gradle +++ b/javatests/artifacts/dagger/simple/build.gradle @@ -20,7 +20,6 @@ plugins { } repositories { - google() mavenCentral() mavenLocal() } diff --git a/javatests/artifacts/dagger/simpleKotlin/build.gradle b/javatests/artifacts/dagger/simpleKotlin/build.gradle index 8c863abf660..a7013134691 100644 --- a/javatests/artifacts/dagger/simpleKotlin/build.gradle +++ b/javatests/artifacts/dagger/simpleKotlin/build.gradle @@ -25,7 +25,6 @@ plugins { } repositories { - google() mavenCentral() mavenLocal() } diff --git a/tools/shader/build.gradle b/tools/shader/build.gradle index 110c0deafa3..087acebd35b 100644 --- a/tools/shader/build.gradle +++ b/tools/shader/build.gradle @@ -26,7 +26,6 @@ plugins { } repositories { - google() mavenCentral() mavenLocal() }