Skip to content

Commit

Permalink
Update ksp dependency to latest version on maven central
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bcorso authored and Dagger Team committed Sep 8, 2021
1 parent 38429f0 commit 01cf47b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Expand Up @@ -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,
Expand Down
8 changes: 0 additions & 8 deletions examples/maven/pom.xml
Expand Up @@ -17,14 +17,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<repositories>
<repository>
<id>google-maven</id>
<name>Google Maven Repo</name>
<url>https://maven.google.com</url>
</repository>
</repositories>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
Expand Down
1 change: 0 additions & 1 deletion javatests/artifacts/dagger/simple/build.gradle
Expand Up @@ -20,7 +20,6 @@ plugins {
}

repositories {
google()
mavenCentral()
mavenLocal()
}
Expand Down
1 change: 0 additions & 1 deletion javatests/artifacts/dagger/simpleKotlin/build.gradle
Expand Up @@ -25,7 +25,6 @@ plugins {
}

repositories {
google()
mavenCentral()
mavenLocal()
}
Expand Down
1 change: 0 additions & 1 deletion tools/shader/build.gradle
Expand Up @@ -26,7 +26,6 @@ plugins {
}

repositories {
google()
mavenCentral()
mavenLocal()
}
Expand Down

0 comments on commit 01cf47b

Please sign in to comment.