diff --git a/build.gradle.kts b/build.gradle.kts index a2af8c4bc4d..19410166c7e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -95,6 +95,14 @@ apiValidation { "stream-chat-android-test", "stream-chat-android-compose-sample", "stream-chat-android-ui-guides", + "stream-chat-android-client-metrics-baseline", + "stream-chat-android-client-metrics-stream", + "stream-chat-android-offline-metrics-baseline", + "stream-chat-android-offline-metrics-stream", + "stream-chat-android-ui-components-metrics-baseline", + "stream-chat-android-ui-components-metrics-stream", + "stream-chat-android-compose-metrics-baseline", + "stream-chat-android-compose-metrics-stream", ) nonPublicMarkers += listOf( diff --git a/metrics/stream-chat-android-client-metrics-baseline/build.gradle.kts b/metrics/stream-chat-android-client-metrics-baseline/build.gradle.kts index 5f9357ded16..f6eb35614cc 100644 --- a/metrics/stream-chat-android-client-metrics-baseline/build.gradle.kts +++ b/metrics/stream-chat-android-client-metrics-baseline/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -17,8 +15,8 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.coroutinesCore) - implementation(Dependencies.androidxAppCompat) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.androidx.appcompat) } diff --git a/metrics/stream-chat-android-client-metrics-stream/build.gradle.kts b/metrics/stream-chat-android-client-metrics-stream/build.gradle.kts index 43698f3759f..021d07ebc51 100644 --- a/metrics/stream-chat-android-client-metrics-stream/build.gradle.kts +++ b/metrics/stream-chat-android-client-metrics-stream/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -17,10 +15,10 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.coroutinesCore) - implementation(Dependencies.androidxAppCompat) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.androidx.appcompat) implementation(project(":stream-chat-android-client")) } diff --git a/metrics/stream-chat-android-compose-metrics-baseline/build.gradle.kts b/metrics/stream-chat-android-compose-metrics-baseline/build.gradle.kts index 409285525ba..1a037af4369 100644 --- a/metrics/stream-chat-android-compose-metrics-baseline/build.gradle.kts +++ b/metrics/stream-chat-android-compose-metrics-baseline/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -19,17 +17,17 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.composeUi) - implementation(Dependencies.composeUiTooling) - implementation(Dependencies.composeFoundation) - implementation(Dependencies.composeMaterial) - implementation(Dependencies.composeMaterialIcons) + implementation(libs.androidx.compose.ui) + implementation(libs.androidx.compose.ui.tooling) + implementation(libs.androidx.compose.foundation) + implementation(libs.androidx.compose.material) + implementation(libs.androidx.compose.material.icons.core) - implementation(Dependencies.composeActivity) - implementation(Dependencies.composeAndroidLifecycle) - implementation(Dependencies.composeViewModel) - implementation(Dependencies.composeAccompanistPermissions) - implementation(Dependencies.composeAccompanistPager) + implementation(libs.androidx.activity.compose) + implementation(libs.androidx.lifecycle.runtime.compose) + implementation(libs.androidx.lifecycle.viewmodel.compose) + implementation(libs.google.accompanist.permissions) + implementation(libs.google.accompanist.pager) } diff --git a/metrics/stream-chat-android-compose-metrics-stream/build.gradle.kts b/metrics/stream-chat-android-compose-metrics-stream/build.gradle.kts index 3272742c4fe..3243a6e8e3d 100644 --- a/metrics/stream-chat-android-compose-metrics-stream/build.gradle.kts +++ b/metrics/stream-chat-android-compose-metrics-stream/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -19,19 +17,19 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.composeUi) - implementation(Dependencies.composeUiTooling) - implementation(Dependencies.composeFoundation) - implementation(Dependencies.composeMaterial) - implementation(Dependencies.composeMaterialIcons) + implementation(libs.androidx.compose.ui) + implementation(libs.androidx.compose.ui.tooling) + implementation(libs.androidx.compose.foundation) + implementation(libs.androidx.compose.material) + implementation(libs.androidx.compose.material.icons.core) - implementation(Dependencies.composeActivity) - implementation(Dependencies.composeAndroidLifecycle) - implementation(Dependencies.composeViewModel) - implementation(Dependencies.composeAccompanistPermissions) - implementation(Dependencies.composeAccompanistPager) + implementation(libs.androidx.activity.compose) + implementation(libs.androidx.lifecycle.runtime.compose) + implementation(libs.androidx.lifecycle.viewmodel.compose) + implementation(libs.google.accompanist.permissions) + implementation(libs.google.accompanist.pager) implementation(project(":stream-chat-android-compose")) } diff --git a/metrics/stream-chat-android-offline-metrics-baseline/build.gradle.kts b/metrics/stream-chat-android-offline-metrics-baseline/build.gradle.kts index a21d97d0551..20353627d7c 100644 --- a/metrics/stream-chat-android-offline-metrics-baseline/build.gradle.kts +++ b/metrics/stream-chat-android-offline-metrics-baseline/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -17,8 +15,8 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.coroutinesCore) - implementation(Dependencies.androidxAppCompat) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.androidx.appcompat) } diff --git a/metrics/stream-chat-android-offline-metrics-stream/build.gradle.kts b/metrics/stream-chat-android-offline-metrics-stream/build.gradle.kts index 88c3d1474ce..839aadf9f26 100644 --- a/metrics/stream-chat-android-offline-metrics-stream/build.gradle.kts +++ b/metrics/stream-chat-android-offline-metrics-stream/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -17,10 +15,10 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.coroutinesCore) - implementation(Dependencies.androidxAppCompat) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.androidx.appcompat) implementation(project(":stream-chat-android-offline")) } diff --git a/metrics/stream-chat-android-ui-components-metrics-baseline/build.gradle.kts b/metrics/stream-chat-android-ui-components-metrics-baseline/build.gradle.kts index 76331c69876..ae0bfb0856d 100644 --- a/metrics/stream-chat-android-ui-components-metrics-baseline/build.gradle.kts +++ b/metrics/stream-chat-android-ui-components-metrics-baseline/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -17,8 +15,8 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.coroutinesCore) - implementation(Dependencies.androidxAppCompat) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.androidx.appcompat) } diff --git a/metrics/stream-chat-android-ui-components-metrics-stream/build.gradle.kts b/metrics/stream-chat-android-ui-components-metrics-stream/build.gradle.kts index 4960bce1210..cc46663eaba 100644 --- a/metrics/stream-chat-android-ui-components-metrics-stream/build.gradle.kts +++ b/metrics/stream-chat-android-ui-components-metrics-stream/build.gradle.kts @@ -1,5 +1,3 @@ -import io.getstream.chat.android.Dependencies - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -17,10 +15,10 @@ android { } dependencies { - detektPlugins(Dependencies.detektFormatting) + detektPlugins(libs.detekt.formatting) - implementation(Dependencies.coroutinesCore) - implementation(Dependencies.androidxAppCompat) + implementation(libs.kotlinx.coroutines.core) + implementation(libs.androidx.appcompat) implementation(project(":stream-chat-android-ui-components")) } diff --git a/settings.gradle.kts b/settings.gradle.kts index c31a5dd3d0a..6910cb27af9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -67,6 +67,14 @@ include ( ":stream-chat-android-ui-uitests", ":stream-chat-android-benchmark", ":stream-chat-android-ai-assistant", + ":metrics:stream-chat-android-client-metrics-baseline", + ":metrics:stream-chat-android-client-metrics-stream", + ":metrics:stream-chat-android-offline-metrics-baseline", + ":metrics:stream-chat-android-offline-metrics-stream", + ":metrics:stream-chat-android-ui-components-metrics-baseline", + ":metrics:stream-chat-android-ui-components-metrics-stream", + ":metrics:stream-chat-android-compose-metrics-baseline", + ":metrics:stream-chat-android-compose-metrics-stream", ) dependencyResolutionManagement {