Skip to content

Commit dd635da

Browse files
neeldoshiiParaskP7wzieba
committed
Plugin & Deps: Migrated Sentry to Version Catlog
Co-Authored-By: Petros Paraskevopoulos <9729923+ParaskP7@users.noreply.github.com> Co-Authored-By: Wojciech Zięba <wojciech.zieba@protonmail.com>
1 parent 1adf28d commit dd635da

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id 'com.automattic.android.measure-builds'
77
id "org.jetbrains.kotlinx.kover"
88
id "com.autonomousapps.dependency-analysis"
9-
id "androidx.navigation.safeargs.kotlin" apply false
9+
alias(libs.plugins.navigation.safeargs).apply(false)
1010
id "com.android.library" apply false
1111
id 'com.google.gms.google-services' apply false
1212
id "org.jetbrains.kotlin.plugin.parcelize" apply false

gradle/libs.versions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ kotlinxCoroutines = '1.7.3'
5555
lottie = '6.1.0'
5656
mockitoAndroid = '4.5.1'
5757
mockitoKotlin = '4.1.0'
58+
navigation = "2.7.7"
5859
philjayMpAndroidChart = 'v3.1.0'
5960
screengrab = '2.1.1'
6061
sentry = "4.3.1"
@@ -183,6 +184,8 @@ lottie = { group = "com.airbnb.android", name = "lottie", version.ref ="lottie"
183184
lottie-compose = { group = "com.airbnb.android", name = "lottie-compose", version.ref ="lottie" }
184185
mockito-android = { group = "org.mockito", name = "mockito-android", version.ref ="mockitoAndroid" }
185186
mockito-kotlin = { group = "org.mockito.kotlin", name = "mockito-kotlin", version.ref ="mockitoKotlin" }
187+
navigation-fragment = { group = "androidx.navigation", name = "navigation-fragment", version.ref = "navigation" }
188+
navigation-ui = { group = "androidx.navigation", name = "navigation-ui", version.ref = "navigation" }
186189
philJay-mpAndroidChart = { group = "com.github.PhilJay", name = "MPAndroidChart", version.ref ="philjayMpAndroidChart" }
187190
squareup-kotlinpoet = { group = "com.squareup", name = "kotlinpoet", version.ref ="squareupKotlinPoet" }
188191
squareup-kotlinpoet-ksp = { group = "com.squareup", name = "kotlinpoet-ksp", version.ref ="squareupKotlinPoet" }
@@ -197,4 +200,5 @@ zendesk = { group = "com.zendesk", name = "support", version.ref ="zendesk" }
197200

198201
[plugins]
199202
dagger = { id = "com.google.dagger.hilt.android", version.ref = "dagger" }
203+
navigation-safeargs = { id = "androidx.navigation.safeargs.kotlin", version.ref = "navigation" }
200204
sentry = { id = "io.sentry.android.gradle", version.ref = "sentry" }

libs/image-editor/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id "com.android.library"
33
id "org.jetbrains.kotlin.android"
44
id "org.jetbrains.kotlin.plugin.parcelize"
5-
id "androidx.navigation.safeargs.kotlin"
5+
alias(libs.plugins.navigation.safeargs)
66
id "org.jetbrains.kotlinx.kover"
77
}
88

@@ -55,8 +55,8 @@ dependencies {
5555
implementation libs.androidx.constraintLayout
5656
implementation libs.androidx.viewPager2
5757
implementation libs.google.material
58-
implementation "androidx.navigation:navigation-fragment:$gradle.ext.navigationVersion"
59-
implementation "androidx.navigation:navigation-ui:$gradle.ext.navigationVersion"
58+
implementation libs.navigation.fragment
59+
implementation libs.navigation.ui
6060
implementation libs.androidx.lifecycle.common
6161
implementation libs.androidx.lifecycle.runtime
6262
implementation libs.androidx.lifecycle.viewmodel

settings.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ pluginManagement {
33
gradle.ext.kspVersion = '1.9.22-1.0.17'
44
gradle.ext.agpVersion = '8.1.0'
55
gradle.ext.googleServicesVersion = '4.3.15'
6-
gradle.ext.navigationVersion = '2.7.7'
76
gradle.ext.detektVersion = '1.23.0'
87
gradle.ext.violationCommentsVersion = '1.70.0'
98
gradle.ext.measureBuildsVersion = '2.1.2'
@@ -19,7 +18,6 @@ pluginManagement {
1918
id "com.android.application" version gradle.ext.agpVersion
2019
id "com.android.library" version gradle.ext.agpVersion
2120
id 'com.google.gms.google-services' version gradle.ext.googleServicesVersion
22-
id "androidx.navigation.safeargs.kotlin" version gradle.ext.navigationVersion
2321
id "io.gitlab.arturbosch.detekt" version gradle.ext.detektVersion
2422
id "se.bjurr.violations.violation-comments-to-github-gradle-plugin" version gradle.ext.violationCommentsVersion
2523
id 'com.automattic.android.measure-builds' version gradle.ext.measureBuildsVersion

0 commit comments

Comments
 (0)