Update KotlinPoet to 1.10.0 (#1396)

This commit is contained in:
Zac Sweers
2021-09-20 16:13:56 -04:00
committed by GitHub
parent 628a193d69
commit de8bbf12f5
5 changed files with 31 additions and 37 deletions

View File

@@ -62,20 +62,12 @@ dependencies {
exclude(group = "org.jetbrains.kotlin", module = "kotlin-stdlib")
}
api(libs.kotlinpoet)
shade(libs.kotlinpoet.metadata.core) {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "com.squareup", module = "kotlinpoet")
}
shade(libs.kotlinpoet.metadata.specs) {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "com.squareup", module = "kotlinpoet")
}
api(libs.kotlinpoet.elementsClassInspector)
shade(libs.kotlinpoet.elementsClassInspector) {
shade(libs.kotlinpoet.metadata) {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "com.squareup", module = "kotlinpoet")
exclude(group = "com.google.guava")
}
api(libs.guava)
api(libs.asm)
api(libs.autoService)
@@ -84,9 +76,7 @@ dependencies {
kapt(libs.incap.processor)
// Copy these again as they're not automatically included since they're shaded
testImplementation(libs.kotlinpoet.metadata.core)
testImplementation(libs.kotlinpoet.metadata.specs)
testImplementation(libs.kotlinpoet.elementsClassInspector)
testImplementation(libs.kotlinpoet.metadata)
testImplementation(libs.junit)
testImplementation(libs.truth)
testImplementation(libs.kotlinCompileTesting)