Skip to content

Commit 1b2a216

Browse files
committed
Deps: Migrated squareupKotlinPoet to Version Catalog
1 parent 6c28a2b commit 1b2a216

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ ext {
3939
googleAutoServiceVersion = '1.0.1'
4040
googlePlayServicesCodeScannerVersion = '16.0.0-beta3'
4141
philjayMpAndroidChartVersion = 'v3.1.0'
42-
squareupKotlinPoetVersion = '1.16.0'
4342
uCropVersion = '2.2.9'
4443

4544
// other

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ mockitoAndroid = '4.5.1'
5555
mockitoKotlin = '4.1.0'
5656
screengrab = '2.1.1'
5757
soLoader = '0.10.5'
58+
squareupKotlinPoet = '1.16.0'
5859
squareupMockWebServer = '4.12.0'
5960
squareupRetrofit = '2.9.0'
6061
volley = '1.2.1'
@@ -174,6 +175,8 @@ lottie = { group = "com.airbnb.android", name = "lottie", version.ref ="lottie"
174175
lottie-compose = { group = "com.airbnb.android", name = "lottie-compose", version.ref ="lottie" }
175176
mockito-android = { group = "org.mockito", name = "mockito-android", version.ref ="mockitoAndroid" }
176177
mockito-kotlin = { group = "org.mockito.kotlin", name = "mockito-kotlin", version.ref ="mockitoKotlin" }
178+
squareup-kotlinpoet = { group = "com.squareup", name = "kotlinpoet", version.ref ="squareupKotlinPoet" }
179+
squareup-kotlinpoet-ksp = { group = "com.squareup", name = "kotlinpoet-ksp", version.ref ="squareupKotlinPoet" }
177180
squareup-okhttp-mockWebServer = { group = "com.squareup.okhttp3", name = "mockwebserver", version.ref ="squareupMockWebServer" }
178181
squareup-retrofit2 = { group = "com.squareup.retrofit2", name = "retrofit", version.ref ="squareupRetrofit" }
179182
volley = { group = "com.android.volley", name = "volley", version.ref = "volley" }

libs/processors/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ targetCompatibility = JavaVersion.VERSION_1_8
99
dependencies {
1010
implementation project(":libs:annotations")
1111

12-
implementation "com.squareup:kotlinpoet:$squareupKotlinPoetVersion"
13-
implementation "com.squareup:kotlinpoet-ksp:$squareupKotlinPoetVersion"
12+
implementation libs.squareup.kotlinpoet
13+
implementation libs.squareup.kotlinpoet.ksp
1414
implementation "com.google.devtools.ksp:symbol-processing-api:$gradle.ext.kspVersion"
1515

1616
def kctVersion = "1.5.0"

0 commit comments

Comments
 (0)