apply from: "$rootProject.projectDir/shared.build.gradle"
apply plugin: 'com.android.library'

android {
    namespace 'com.zigis.paleontologas.core'
}

dependencies {
    api platform('androidx.compose:compose-bom:2025.08.01')
    api 'androidx.lifecycle:lifecycle-viewmodel-compose'
    api 'androidx.lifecycle:lifecycle-runtime-compose'
    api 'androidx.activity:activity-compose'
    api 'androidx.compose.material3:material3'
    api 'androidx.compose.ui:ui'
    api 'androidx.compose.ui:ui-graphics'
    api 'androidx.compose.ui:ui-tooling-preview'
    debugApi 'androidx.compose.ui:ui-tooling'

    api 'androidx.constraintlayout:constraintlayout-compose:1.1.1'
    api 'androidx.navigation:navigation-compose:2.9.3'

    api 'androidx.core:core-ktx:1.17.0'
    api 'androidx.core:core-splashscreen:1.0.1'
    api 'com.google.android.material:material:1.13.0'

    api 'com.google.firebase:firebase-crashlytics:20.0.1'
    api 'com.google.firebase:firebase-analytics:23.0.0'

    api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
    api 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.3'
    api 'androidx.lifecycle:lifecycle-runtime-ktx:2.9.3'

    api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0'

    api "androidx.room:room-runtime:$room_version"
    api "androidx.room:room-ktx:$room_version"
    ksp "androidx.room:room-compiler:$room_version"

    api "io.insert-koin:koin-android:$koin_version"
    api "io.insert-koin:koin-androidx-compose:$koin_version"

    api platform("com.google.firebase:firebase-bom:34.2.0")
    api 'com.google.firebase:firebase-auth'
    api 'com.google.firebase:firebase-database'
    api 'com.google.android.gms:play-services-auth:21.4.0'
    api 'androidx.credentials:credentials-play-services-auth:1.5.0'
    api 'com.google.android.libraries.identity.googleid:googleid:1.1.1'
    api 'androidx.credentials:credentials:1.5.0'

    api 'org.greenrobot:eventbus:3.3.1'

    testApi 'junit:junit:4.13.2'
    androidTestApi 'androidx.test:runner:1.7.0'
    androidTestApi 'androidx.test.espresso:espresso-core:3.7.0'
}