From 7692dfd1e68e62226844b1b0ef4766b48d76a2c7 Mon Sep 17 00:00:00 2001 From: Shivam Goyal Date: Wed, 20 Dec 2023 15:57:20 +0530 Subject: [PATCH] Version Catalog + Gradle 8.5 + AGP 8.2.0 (#270) --- app/build.gradle | 92 +++--- benchmark/build.gradle | 35 +-- build.gradle | 19 +- gradle/libs.versions.toml | 381 ++++++++++++++++++++++- gradle/wrapper/gradle-wrapper.properties | 4 +- navi-uitron/build.gradle | 56 ++-- 6 files changed, 484 insertions(+), 103 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 31e4dcb..9a428e0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,8 +1,9 @@ plugins { - id 'com.android.application' - id 'org.jetbrains.kotlin.android' - id 'kotlin-kapt' - id 'com.google.dagger.hilt.android' + alias libs.plugins.android.application + alias libs.plugins.hilt.android + alias libs.plugins.kotlin.android + alias libs.plugins.kotlin.kapt + alias libs.plugins.ksp } android { @@ -54,7 +55,7 @@ android { compose true } composeOptions { - kotlinCompilerExtensionVersion '1.4.3' + kotlinCompilerExtensionVersion libs.versions.compose.lib.get() } packagingOptions { resources { @@ -64,49 +65,50 @@ android { } dependencies { - implementation platform("androidx.compose:compose-bom:2023.10.01") - implementation project(':navi-uitron') - implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'androidx.core:core-ktx:1.8.0' - implementation 'com.google.android.material:material:1.9.0' - implementation 'androidx.activity:activity-compose:1.7.2' - implementation "androidx.compose.material:material" - implementation 'androidx.compose.ui:ui' - implementation 'androidx.compose.ui:ui-graphics' - implementation 'androidx.compose.ui:ui-tooling-preview' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' - implementation 'com.google.code.gson:gson:2.10.1' - implementation "androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha10" - testImplementation "junit:junit:4.13.2" - androidTestImplementation "androidx.test.ext:junit:1.1.5" - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' - implementation 'androidx.navigation:navigation-compose:2.6.0' - implementation 'androidx.profileinstaller:profileinstaller:1.3.1' - // Retrofit - api "com.squareup.retrofit2:retrofit:2.9.0" - api 'com.squareup.retrofit2:converter-gson:2.9.0' - implementation 'com.squareup.okhttp3:okhttp:3.6.0' - implementation 'com.squareup.okhttp3:logging-interceptor:4.4.1' + implementation platform(libs.androidx.compose.bom) + implementation platform(libs.okhttp.bom) - // compose with lifecycle - api "androidx.lifecycle:lifecycle-runtime-compose:2.6.1" + implementation libs.android.material - // Pagination - implementation "androidx.paging:paging-runtime-ktx:3.1.1" - implementation "androidx.paging:paging-compose:1.0.0-alpha17" + implementation libs.androidx.appcompat + implementation libs.androidx.core.ktx + implementation libs.androidx.activity.compose + implementation libs.androidx.compose.material + implementation libs.androidx.compose.ui.graphics + implementation libs.androidx.compose.ui.toolingPreview + implementation libs.androidx.compose.ui.ui + implementation libs.androidx.constraintlayoutCompose + implementation libs.androidx.hilt.navigation.compose + implementation libs.androidx.lifecycle.viewmodel.ktx + implementation libs.androidx.navigation.compose + implementation libs.androidx.paging.compose + implementation libs.androidx.paging.runtime.ktx + implementation libs.androidx.profileinstaller + implementation libs.androidx.room.ktx + implementation libs.androidx.room.paging + implementation libs.androidx.room.runtime - //Room - def room_version = "2.5.2" - implementation "androidx.room:room-runtime:$room_version" - kapt "androidx.room:room-compiler:$room_version" - implementation "androidx.room:room-ktx:$room_version" - implementation "androidx.room:room-paging:$room_version" + implementation libs.dagger.hiltAndroid - // Hilt - implementation 'com.google.dagger:hilt-android:2.44' - kapt 'androidx.hilt:hilt-compiler:1.0.0' - kapt 'com.google.dagger:hilt-android-compiler:2.44' - implementation "androidx.hilt:hilt-navigation-compose:1.0.0" -} \ No newline at end of file + implementation libs.gson + + implementation libs.okhttp.loggingIntercepter + + api libs.androidx.lifecycle.runtime.compose + + api libs.retrofit.converter.gson + api libs.retrofit.retrofit + + kapt libs.androidx.hilt.compiler + + kapt libs.dagger.hiltAndroidCompiler + + ksp libs.androidx.room.compiler + + androidTestImplementation libs.androidx.test.espresso.core + androidTestImplementation libs.androidx.test.junit + + testImplementation libs.junit +} diff --git a/benchmark/build.gradle b/benchmark/build.gradle index 2f0fdb0..1be3968 100644 --- a/benchmark/build.gradle +++ b/benchmark/build.gradle @@ -1,21 +1,12 @@ plugins { - id 'com.android.test' - id 'org.jetbrains.kotlin.android' + alias libs.plugins.android.test + alias libs.plugins.kotlin.android } android { namespace 'com.navi.uitron.benchmark' compileSdk 34 - compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 - } - - kotlinOptions { - jvmTarget = "17" - } - defaultConfig { minSdk 24 targetSdk 33 @@ -24,28 +15,32 @@ android { } buildTypes { - // This benchmark buildType is used for benchmarking, and should function like your - // release build (for example, with minification on). It's signed with a debug key - // for easy local/CI testing. benchmark { - debuggable = true + debuggable true minifyEnabled true shrinkResources true signingConfig = signingConfigs.getByName("debug") matchingFallbacks.add("release") } } + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + kotlinOptions { + jvmTarget = '17' + } targetProjectPath = ":app" experimentalProperties["android.experimental.self-instrumenting"] = true } dependencies { - implementation 'androidx.test.ext:junit:1.1.5' - implementation 'androidx.test.espresso:espresso-core:3.5.1' - implementation 'androidx.test.uiautomator:uiautomator:2.2.0' - implementation 'androidx.benchmark:benchmark-macro-junit4:1.1.1' - implementation "androidx.benchmark:benchmark-junit4:1.1.1" + implementation libs.androidx.benchmark.junit4 + implementation libs.androidx.benchmark.macroJunit4 + implementation libs.androidx.test.espresso.core + implementation libs.androidx.test.junit + implementation libs.androidx.uiautomator } androidComponents { diff --git a/build.gradle b/build.gradle index 120ca90..60e1d0b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,10 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -buildscript { - ext { - nav_version = "2.6.0" - } -} plugins { - id 'com.android.application' version '8.1.1' apply false - id 'com.android.library' version '8.1.1' apply false - id 'org.jetbrains.kotlin.android' version '1.8.10' apply false - id 'com.android.test' version '8.1.1' apply false - id 'com.google.dagger.hilt.android' version '2.44' apply false + alias libs.plugins.android.application apply false + alias libs.plugins.android.library apply false + alias libs.plugins.android.test apply false + alias libs.plugins.hilt.android apply false + alias libs.plugins.kotlin.android apply false + alias libs.plugins.kotlin.kapt apply false + alias libs.plugins.kotlin.parcelize apply false + alias libs.plugins.ksp apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 06945d5..d4f8328 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,15 +1,394 @@ [versions] -androidGradlePlugin = "8.1.1" +accompanist-pager = "0.28.0" +accompanist-permissions = "0.32.0" +accompanist-systemuicontroller = "0.17.0" +androidGradlePlugin = "8.2.0" +android-exoplayer = "2.18.1" +android-flexbox = "3.0.0" +android-gms-playServicesAds = "22.0.0" +android-gms-playServicesAuth = "18.0.0" +android-gms-playServicesAuthApiPhone = "18.0.1" +android-gms-playServicesLocation = "21.0.1" +android-gms-playServicesMaps = "17.0.0" +android-installreferrer = "2.2" +android-material = "1.9.0" +android-places = "2.6.0" +android-play-core-ktx = "1.8.1" +android-r8 = "8.2.33" +android-supportAnnotations = "28.0.0" +androidx-activityCompose = "1.7.2" +androidx-appcompat = "1.6.1" +androidx-benchmark = "1.1.1" +androidx-browser = "1.3.0" +androidx-camera = "1.3.0-beta01" +androidx-constraintlayout = "2.1.4" +androidx-constraintlayoutCompose = "1.1.0-alpha10" +androidx-core-ktx = "1.8.0" +androidx-coreGoogleShortcuts = "1.1.0" +androidx-coreSplashscreen = "1.0.1" +androidx-fragment = "1.5.2" +androidx-gridlayout = "1.0.0" +androidx-hilt = "1.0.0" +androidx-legacy-support-v4 = "1.0.0" +androidx-lifecycle = "2.6.1" +androidx-multidex = "2.0.1" +androidx-pagingCompose = "3.2.0" +androidx-pagingRuntimeKtx = "3.1.1" +androidx-preferenceKtx = "1.2.0" +androidx-profileinstaller = "1.3.1" +androidx-securityCryptoKtx = "1.1.0-alpha03" +androidx-test-espresso = "3.5.0" +androidx-test-junit = "1.1.5" +androidx-test-monitor = "1.6.0" +androidx-test-rules = "1.4.0" +androidx-test-runner = "1.4.0" +androidx-uiautomator = "2.2.0" +androidx-workRuntimeKtx = "2.8.1" +anrwatchdog = "1.4.0" +appsflyer = "6.12.3" +arch-coreTesting = "1.1.1" +arch-workRuntimeKtx = "1.0.1" +awaitility = "4.1.0" +branch = "5.1.1" +cashfree = "2.0.6" +chucker = "4.0.0" +coil = "2.5.0" +compose-bom = "2023.10.01" +compose-lib = '1.5.4' +delight-advancedWebView = "v3.0.0" +digio = "v4.0.6" +digitap = "1.3.9" +facebook-applinks = "13.1.0" +facebook-shimmer = "0.5.0" +finarkein = "0.4.0" +firebase-bom = "32.7.0" +firebase-crashlytics = "2.9.9" +firebase-perf = "1.4.2" +glide = "4.14.2" +google-services = "4.4.0" +gson = "2.10.1" +hamcrest = "2.2" hilt = "2.48" +hms = "2.7.1" +hyperion = "0.9.37" +hyperionSimpleItem = "0.5.0" +jakewharton-timber = "5.0.1" +jodaMoney = "1.0.1" +jodaTime = "2.12.2" +jsonPath = "2.8.0" +junit = "4.13.2" +juspay-googlePayClientApi = "1.0.0" +juspay-hypersdk = "2.1.15" +juspay-hypersdkPlugin = "2.0.4" kotlin = "1.9.20" +kotlinxCoroutines = "1.7.3" +kotlinxCoroutinesTest = "1.7.3" ksp = "1.9.20-1.0.14" +lottie = "6.1.0" +masayukiSuda-easingInterpolator = "v1.3.2" +mlkit-barcodeScanning = "17.1.0" +mockk = "1.13.8" +moengage-android-sdk = "12.6.02" +moengage-inapp = "6.5.0" +moengage-push-amp-plus = "6.2.1" +moengage-rich-notification = "4.3.2" +mvel2 = "2.4.15.Final" +navi-alfred = "1.0.16" +navi-uitron = "1.0.36-20231218.103220-27" +navi-guarddog = "1.0.2" +navigation = "2.5.3" +navigation-compose = "2.6.0" +okhttp-bom = "4.11.0" +otaliastudios-cameraview = "2.7.2" +otpless = "1.1.4" +payu-checkoutPro = "2.0.24" +payu-nativeOtpAssist = "1.3.7" +philjay-mpAndroidChart = "v3.1.0" +pierfrancescosoffritti-androidyoutubeplayer = "11.1.0" +raamcosta-composeDestinations = "1.9.55" +razorpay = "1.6.33" +restAssured = "4.3.0" +retrofit = "2.9.0" +room = "2.5.2" +shawnLin-numberPicker = "2.4.13" +spotless = "6.20.0" +truecaller = "2.7.0" +visit = "1.24" +wasabeef-recyclerviewAnimators = "4.0.1" +zetetic-androidDatabaseSqlcipher = "4.5.4" +zxing = "3.3.3" [libraries] +accompanist-pager = { module = "com.google.accompanist:accompanist-pager", version.ref = "accompanist-pager" } +accompanist-pagerIndicators = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanist-pager" } +accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist-permissions" } +accompanist-systemuicontroller = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist-systemuicontroller" } + +android-exoplayer-core = { module = "com.google.android.exoplayer:exoplayer-core", version.ref = "android-exoplayer" } +android-exoplayer-hls = { module = "com.google.android.exoplayer:exoplayer-hls", version.ref = "android-exoplayer" } +android-exoplayer-ui = { module = "com.google.android.exoplayer:exoplayer-ui", version.ref = "android-exoplayer" } + +android-flexbox = { module = "com.google.android.flexbox:flexbox", version.ref = "android-flexbox" } + +android-installreferrer = { module = "com.android.installreferrer:installreferrer", version.ref = "android-installreferrer" } + +android-gms-playServicesAds = { module = "com.google.android.gms:play-services-ads", version.ref = "android-gms-playServicesAds" } +android-gms-playServicesAuth = { module = "com.google.android.gms:play-services-auth", version.ref = "android-gms-playServicesAuth" } +android-gms-playServicesAuthApiPhone = { module = "com.google.android.gms:play-services-auth-api-phone", version.ref = "android-gms-playServicesAuthApiPhone" } +android-gms-playServicesLocation = { module = "com.google.android.gms:play-services-location", version.ref = "android-gms-playServicesLocation" } +android-gms-playServicesMaps = { module = "com.google.android.gms:play-services-maps", version.ref = "android-gms-playServicesMaps" } + +android-material = { module = "com.google.android.material:material", version.ref = "android-material" } + +android-places = { module = "com.google.android.libraries.places:places", version.ref = "android-places" } + +android-play-core-ktx = { module = "com.google.android.play:core-ktx", version.ref = "android-play-core-ktx" } + +android-r8 = { module = "com.android.tools:r8", version.ref = "android-r8" } + +android-support-annotations = { module = "com.android.support:support-annotations", version.ref = "android-supportAnnotations" } + +androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" } + +androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" } + +androidx-benchmark-junit4 = { module = "androidx.benchmark:benchmark-junit4", version.ref = "androidx-benchmark" } +androidx-benchmark-macroJunit4 = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "androidx-benchmark" } + +androidx-browser = { module = "androidx.browser:browser", version.ref = "androidx-browser" } + +androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidx-camera" } +androidx-camera-core = { module = "androidx.camera:camera-core", version.ref = "androidx-camera" } +androidx-camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "androidx-camera" } +androidx-camera-mlkit-vision = { module = "androidx.camera:camera-mlkit-vision", version.ref = "androidx-camera" } +androidx-camera-view = { module = "androidx.camera:camera-view", version.ref = "androidx-camera" } + +androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" } +androidx-compose-foundation = { module = "androidx.compose.foundation:foundation" } +androidx-compose-material = { module = "androidx.compose.material:material" } +androidx-compose-material3 = { module = "androidx.compose.material3:material3" } +androidx-compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" } +androidx-compose-ui-ui = { module = "androidx.compose.ui:ui" } +androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" } +androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" } +androidx-compose-ui-toolingPreview = { module = "androidx.compose.ui:ui-tooling-preview" } +androidx-compose-ui-util = { module = "androidx.compose.ui:ui-util" } + +androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx-constraintlayout" } +androidx-constraintlayoutCompose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "androidx-constraintlayoutCompose" } + +androidx-core-google-shortcuts = { module = "androidx.core:core-google-shortcuts", version.ref = "androidx-coreGoogleShortcuts" } +androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core-ktx" } +androidx-core-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "androidx-coreSplashscreen" } + +androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref = "androidx-fragment" } + +androidx-gridlayout = { module = "androidx.gridlayout:gridlayout", version.ref = "androidx-gridlayout" } + +androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "androidx-hilt" } +androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "androidx-hilt" } +androidx-hilt-work = { module = "androidx.hilt:hilt-work", version.ref = "androidx-hilt" } + +androidx-legacy-support-v4 = { module = "androidx.legacy:legacy-support-v4", version.ref = "androidx-legacy-support-v4" } + +androidx-lifecycle-livedata-ktx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidx-lifecycle" } +androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidx-lifecycle" } +androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" } +androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" } + +androidx-multidex = { module = "androidx.multidex:multidex", version.ref = "androidx-multidex" } + +androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" } +androidx-navigation-fragment-ktx = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "navigation" } +androidx-navigation-ui-ktx = { module = "androidx.navigation:navigation-ui-ktx", version.ref = "navigation" } + +androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "androidx-pagingCompose" } +androidx-paging-runtime-ktx = { module = "androidx.paging:paging-runtime-ktx", version.ref = "androidx-pagingRuntimeKtx" } + +androidx-preference-ktx = { module = "androidx.preference:preference-ktx", version.ref = "androidx-preferenceKtx" } + +androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version.ref = "androidx-profileinstaller" } + +androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" } +androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" } +androidx-room-paging = { module = "androidx.room:room-paging", version.ref = "room" } +androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" } +androidx-room-testing = { module = "androidx.room:room-testing", version.ref = "room" } + +androidx-security-crypto-ktx = { module = "androidx.security:security-crypto-ktx", version.ref = "androidx-securityCryptoKtx" } + +androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-test-espresso" } +androidx-test-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "androidx-test-espresso" } +androidx-test-espresso-web = { module = "androidx.test.espresso:espresso-web", version.ref = "androidx-test-espresso" } +androidx-test-espresso-intents = { module = "androidx.test.espresso:espresso-intents", version.ref = "androidx-test-espresso" } +androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-junit" } +androidx-test-monitor = { module = "androidx.test:monitor", version.ref = "androidx-test-monitor" } +androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx-test-rules" } +androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test-runner" } + +androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidx-uiautomator" } + +androidx-workRuntime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "androidx-workRuntimeKtx" } + +anrwatchdog = { module = "com.github.anrwatchdog:anrwatchdog", version.ref = "anrwatchdog" } + +appsflyer = { module = "com.appsflyer:af-android-sdk", version.ref = "appsflyer" } + +arch-core-testing = { module = "android.arch.core:core-testing", version.ref = "arch-coreTesting" } +arch-work-runtime-ktx = { module = "android.arch.work:work-runtime-ktx", version.ref = "arch-workRuntimeKtx" } + +awaitility = { module = "org.awaitility:awaitility", version.ref = "awaitility" } + +branch = { module = "io.branch.sdk.android:library", version.ref = "branch" } + +cashfree = { module = "com.cashfree.pg:api", version.ref = "cashfree" } + +chucker-library = { module = "com.github.chuckerteam.chucker:library", version.ref = "chucker" } +chucker-libraryNoOp = { module = "com.github.chuckerteam.chucker:library-no-op", version.ref = "chucker" } + +coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } +coil-test = { module = "io.coil-kt:coil-test", version.ref = "coil" } +coil-video = { module = "io.coil-kt:coil-video", version.ref = "coil" } +dagger-hiltAndroid = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } +dagger-hiltAndroidCompiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hilt" } +dagger-hiltAndroidTesting = { module = "com.google.dagger:hilt-android-testing", version.ref = "hilt" } +dagger-hiltCompiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } + +delight-advancedWebView = { module = "com.github.delight-im:Android-AdvancedWebView", version.ref = "delight-advancedWebView" } + +digio-gateway-common = { module = "com.github.digio-tech:gateway", version.ref = "digio" } +digio-gateway-esign = { module = "com.github.digio-tech:gateway_esign", version.ref = "digio" } +digio-gateway-kyc = { module = "com.github.digio-tech:gateway_kyc", version.ref = "digio" } + +digitap = { module = "com.digitap.sdk:okyc", version.ref = "digitap" } + +facebook-applinks = { module = "com.facebook.android:facebook-applinks", version.ref = "facebook-applinks" } +facebook-shimmer = { module = "com.facebook.shimmer:shimmer", version.ref = "facebook-shimmer" } + +finarkein = { module = "io.finarkein.anubhav:sdk-core", version.ref = "finarkein" } + +firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase-bom" } +firebase-analytics = { module = "com.google.firebase:firebase-analytics" } +firebase-auth = { module = "com.google.firebase:firebase-auth" } +firebase-config = { module = "com.google.firebase:firebase-config" } +firebase-crashlytics = { module = "com.google.firebase:firebase-crashlytics" } +firebase-database = { module = "com.google.firebase:firebase-database" } +firebase-dynamic-links = { module = "com.google.firebase:firebase-dynamic-links" } +firebase-firestore = { module = "com.google.firebase:firebase-firestore" } +firebase-messaging = { module = "com.google.firebase:firebase-messaging" } +firebase-perf = { module = "com.google.firebase:firebase-perf" } + +glide-glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" } +glide-ksp = { module = "com.github.bumptech.glide:ksp", version.ref = "glide" } + +gson = { module = "com.google.code.gson:gson", version.ref = "gson" } + +hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" } + +hms-videoView = { module = "live.100ms:video-view", version.ref = "hms" } +hms-androidSdk = { module = "live.100ms:android-sdk", version.ref = "hms" } + +hyperion-buildConfig = { module = "com.willowtreeapps.hyperion:hyperion-build-config", version.ref = "hyperion" } +hyperion-attr = { module = "com.willowtreeapps.hyperion:hyperion-attr", version.ref = "hyperion" } +hyperion-core = { module = "com.willowtreeapps.hyperion:hyperion-core", version.ref = "hyperion" } +hyperion-coreNoOp = { module = "com.willowtreeapps.hyperion:hyperion-core-no-op", version.ref = "hyperion" } +hyperion-simpleItem = { module = "com.github.takahirom:Hyperion-Simple-Item", version.ref = "hyperionSimpleItem" } +hyperion-timber = { module = "com.willowtreeapps.hyperion:hyperion-timber", version.ref = "hyperion" } +hyperion-sharedPreferences = { module = "com.willowtreeapps.hyperion:hyperion-shared-preferences", version.ref = "hyperion" } +hyperion-recorder = { module = "com.willowtreeapps.hyperion:hyperion-recorder", version.ref = "hyperion" } +hyperion-phoenix = { module = "com.willowtreeapps.hyperion:hyperion-phoenix", version.ref = "hyperion" } +hyperion-measurement = { module = "com.willowtreeapps.hyperion:hyperion-measurement", version.ref = "hyperion" } +hyperion-geigerCounter = { module = "com.willowtreeapps.hyperion:hyperion-geiger-counter", version.ref = "hyperion" } +hyperion-disk = { module = "com.willowtreeapps.hyperion:hyperion-disk", version.ref = "hyperion" } +hyperion-crash = { module = "com.willowtreeapps.hyperion:hyperion-crash", version.ref = "hyperion" } + +jakewharton-timber = { module = "com.jakewharton.timber:timber", version.ref = "jakewharton-timber" } + +jayway-jsonPath = { module = "com.jayway.jsonpath:json-path", version.ref = "jsonPath" } + +joda-money = { module = "org.joda:joda-money", version.ref = "jodaMoney" } +joda-time = { module = "joda-time:joda-time", version.ref = "jodaTime" } + +junit = { module = "junit:junit", version.ref = "junit" } + +juspay-hypersdk-plugin = { module = "in.juspay:hypersdk.plugin", version.ref = "juspay-hypersdkPlugin" } +juspay-googlePayClientApi = { module = "in.juspay:google-pay-client-api", version.ref = "juspay-googlePayClientApi" } + +kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" } +kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" } +kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutinesTest" } + +lottie = { module = "com.airbnb.android:lottie", version.ref = "lottie" } +lottieCompose = { module = "com.airbnb.android:lottie-compose", version.ref = "lottie" } + +masayukiSuda-easingInterpolator = { module = "com.github.MasayukiSuda:EasingInterpolator", version.ref = "masayukiSuda-easingInterpolator" } + +mlkit-barcodeScanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "mlkit-barcodeScanning" } + +mockk = { module = "io.mockk:mockk", version.ref = "mockk" } + +moengage-android-sdk = { module = "com.moengage:moe-android-sdk", version.ref = "moengage-android-sdk" } +moengage-inapp = { module = "com.moengage:inapp", version.ref = "moengage-inapp" } +moengage-push-amp-plus = { module = "com.moengage:push-amp-plus", version.ref = "moengage-push-amp-plus" } +moengage-rich-notification = { module = "com.moengage:rich-notification", version.ref = "moengage-rich-notification" } + +mvel2 = { module = "org.mvel:mvel2", version.ref = "mvel2" } + +navi-alfred = { module = "com.navi.android:alfred", version.ref = "navi-alfred" } +navi-guarddog = { module = "com.navi.android:guarddog", version.ref = "navi-guarddog" } +navi-uitron = { module = "com.navi.medici:uitron", version.ref = "navi-uitron" } + +okhttp-bom = { module = "com.squareup.okhttp3:okhttp-bom", version.ref = "okhttp-bom" } +okhttp-brotli = { module = "com.squareup.okhttp3:okhttp-brotli" } +okhttp-loggingIntercepter = { module = "com.squareup.okhttp3:logging-interceptor" } +okhttp-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver" } + +otaliastudios-cameraview = { module = "com.otaliastudios:cameraview", version.ref = "otaliastudios-cameraview" } + +otpless = { module = "com.github.otpless-tech:otpless-android-sdk", version.ref = "otpless" } + +payu-checkoutPro = { module = "in.payu:payu-checkout-pro", version.ref = "payu-checkoutPro" } +payu-nativeOtpAssist = { module = "in.payu:native-otp-assist", version.ref = "payu-nativeOtpAssist" } + +philjay-mpAndroidChart = { module = "com.github.PhilJay:MPAndroidChart", version.ref = "philjay-mpAndroidChart" } + +pierfrancescosoffritti-androidyoutubeplayer = { module = "com.pierfrancescosoffritti.androidyoutubeplayer:core", version.ref = "pierfrancescosoffritti-androidyoutubeplayer" } + +raamcosta-composeDestinations-animation-core = { module = "io.github.raamcosta.compose-destinations:animations-core", version.ref = "raamcosta-composeDestinations" } +raamcosta-composeDestinations-ksp = { module = "io.github.raamcosta.compose-destinations:ksp", version.ref = "raamcosta-composeDestinations" } + +razorpay = { module = "com.razorpay:checkout", version.ref = "razorpay" } + +restAssured = { module = "io.rest-assured:rest-assured", version.ref = "restAssured" } + +retrofit-retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" } +retrofit-converter-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "retrofit" } +retrofit-converter-scalars = { module = "com.squareup.retrofit2:converter-scalars", version.ref = "retrofit" } + +shawnLin-numberPicker = { module = "io.github.ShawnLin013:number-picker", version.ref = "shawnLin-numberPicker" } + +truecaller = { module = "com.truecaller.android.sdk:truecaller-sdk", version.ref = "truecaller" } + +visit = { module = "com.github.VisitApp:VisitSDK", version.ref = "visit" } + +wasabeef-recyclerview-animators = { module = "jp.wasabeef:recyclerview-animators", version.ref = "wasabeef-recyclerviewAnimators" } + +zetetic-android-database-sqlcipher = { module = "net.zetetic:android-database-sqlcipher", version.ref = "zetetic-androidDatabaseSqlcipher" } + +zxing = { module = "com.google.zxing:core", version.ref = "zxing" } [plugins] android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } +android-dynamic-feature = { id = "com.android.dynamic-feature", version.ref = "androidGradlePlugin" } android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" } +firebase-crashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebase-crashlytics" } +firebase-perf = { id = "com.google.firebase.firebase-perf", version.ref = "firebase-perf" } +google-services = { id = "com.google.gms.google-services", version.ref = "google-services" } hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } +kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } +kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } +navigation = { id = "androidx.navigation.safeargs.kotlin", version.ref = "navigation" } +spotless = { id = "com.diffplug.spotless", version.ref = "spotless" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9aa0d19..54d6779 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Sep 19 18:01:30 IST 2023 +#Tue Dec 19 22:34:36 IST 2023 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/navi-uitron/build.gradle b/navi-uitron/build.gradle index 59c369f..e349bd8 100644 --- a/navi-uitron/build.gradle +++ b/navi-uitron/build.gradle @@ -1,7 +1,7 @@ plugins { - id 'com.android.library' - id 'org.jetbrains.kotlin.android' - id 'kotlin-parcelize' + alias libs.plugins.android.library + alias libs.plugins.kotlin.android + alias libs.plugins.kotlin.parcelize id 'maven-publish' } @@ -36,7 +36,7 @@ android { compose true } composeOptions { - kotlinCompilerExtensionVersion '1.4.3' + kotlinCompilerExtensionVersion libs.versions.compose.lib.get() } } @@ -81,25 +81,33 @@ publishing { } dependencies { - implementation platform("androidx.compose:compose-bom:2023.10.01") + implementation platform(libs.androidx.compose.bom) - implementation "androidx.compose.ui:ui" - implementation "androidx.compose.material:material" - implementation "androidx.compose.ui:ui-tooling-preview" - implementation "com.google.accompanist:accompanist-pager:0.28.0" - implementation "com.google.accompanist:accompanist-pager-indicators:0.28.0" - implementation "androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha10" - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1' - implementation 'androidx.activity:activity-compose:1.7.2' - implementation 'androidx.core:core-ktx:1.8.0' - implementation 'com.google.code.gson:gson:2.10.1' - implementation 'androidx.hilt:hilt-navigation-compose:1.0.0' - implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'com.google.android.material:material:1.9.0' - implementation "org.mvel:mvel2:2.4.15.Final" - implementation "com.airbnb.android:lottie-compose:6.1.0" - api "io.coil-kt:coil-compose:2.5.0" - testImplementation "junit:junit:4.13.2" - androidTestImplementation "androidx.test.ext:junit:1.1.5" - implementation 'androidx.compose.material3:material3:1.1.2' + implementation libs.accompanist.pager + implementation libs.accompanist.pagerIndicators + + implementation libs.android.material + + implementation libs.androidx.activity.compose + implementation libs.androidx.appcompat + implementation libs.androidx.compose.material + implementation libs.androidx.compose.material3 + implementation libs.androidx.compose.ui.toolingPreview + implementation libs.androidx.compose.ui.ui + implementation libs.androidx.constraintlayoutCompose + implementation libs.androidx.core.ktx + implementation libs.androidx.hilt.navigation.compose + implementation libs.androidx.lifecycle.runtime.ktx + + implementation libs.gson + + implementation libs.lottieCompose + + implementation libs.mvel2 + + api libs.coil.compose + + androidTestImplementation libs.androidx.test.junit + + testImplementation libs.junit }