Skip to content

Commit

Permalink
Upgrade kotlinpoet to 1.8.0 to match Dependencies.kt
Browse files Browse the repository at this point in the history
Additionally, remove kotlinpoet from buildSrc/build.gradle as
that break wire gradle plugin square/wire#1972

Test: ./gradlew tasks
Change-Id: I308ef982b5662fe940b1b119a17398a3d0d3d8ed
  • Loading branch information
liutikas committed May 24, 2021
1 parent fcbc8ff commit 3643bbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ dependencies {
cacheableApi(libs.androidGradlePlugin)
cacheableImplementation(libs.dexMemberList)
cacheableApi(libs.kotlinGradlePlugin)
cacheableImplementation(libs.kotlinPoet)
cacheableImplementation(gradleApi())
cacheableApi(libs.dokkaGradlePlugin)
// needed by inspection plugin
Expand Down
6 changes: 1 addition & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ incap = "0.2"
kotlin = "1.5.0"
kotlinCompileTesting = "1.4.0"
kotlinCoroutines = "1.4.3"
kotlinPoet = "1.4.0"
ksp = "1.5.0-1.0.0-alpha10"
leakcanary = "2.2"
mockito = "2.25.0"
Expand Down Expand Up @@ -99,10 +98,7 @@ kotlinTestCommon = { module = "org.jetbrains.kotlin:kotlin-test-common", version
kotlinTestJunit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
kotlinTestJs = { module = "org.jetbrains.kotlin:kotlin-test-js", version.ref = "kotlin" }
kotlinReflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
kotlinPoet = { module = "com.squareup:kotlinpoet", version.ref = "kotlinPoet" }
kotlinPoetMetadata = { module = "com.squareup:kotlinpoet-metadata", version.ref = "kotlinPoet" }
kotlinPoetMetadataSpecs = { module = "com.squareup:kotlinpoet-metadata-specs", version.ref = "kotlinPoet" }
kotlinPoetClassinspector = { module = "com.squareup:kotlinpoet-classinspector-elements", version.ref = "kotlinPoet" }
kotlinPoet = { module = "com.squareup:kotlinpoet", version = "1.8.0" }
kgpLeakPatcher = { module = "dev.zacsweers:kgp-150-leak-patcher", version="1.1.0" }
ksp = { module = "com.google.devtools.ksp:symbol-processing", version.ref = "ksp" }
kspApi = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }
Expand Down

0 comments on commit 3643bbc

Please sign in to comment.