@@ -5,6 +5,7 @@ import java.util.TimeZone
55plugins {
66 id(" com.android.application" )
77 id(" org.jlleitschuh.gradle.ktlint" ) version " 11.0.0"
8+ // id("com.google.gms.google-services")
89 kotlin(" android" )
910 kotlin(" kapt" )
1011}
@@ -13,20 +14,24 @@ android {
1314 compileSdk = 33
1415 defaultConfig {
1516 applicationId = " com.mparticle.example.higgsshopsampleapp"
16- minSdk = 23
17+ minSdk = 24
1718 targetSdk = 33
1819 versionCode = buildVersionCode()
1920 versionName = " 0.13.0-SNAPSHOT"
2021 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
2122 buildConfigField(" String" , " HIGGS_SHOP_SAMPLE_APP_KEY" , " \" ${System .getenv(" HIGGS_SHOP_SAMPLE_APP_KEY" )} \" " )
2223 buildConfigField(" String" , " HIGGS_SHOP_SAMPLE_APP_SECRET" , " \" ${System .getenv(" HIGGS_SHOP_SAMPLE_APP_SECRET" )} \" " )
24+ buildConfigField(" String" , " HIGGS_SHOP_FCM_SENDER_ID" , " \" ${System .getenv(" HIGGS_SHOP_FCM_SENDER_ID" )} \" " )
2325 }
2426 buildFeatures {
2527 dataBinding = true
2628 compose = true
2729 }
2830 composeOptions {
29- kotlinCompilerExtensionVersion = " 1.3.1"
31+ kotlinCompilerExtensionVersion = " 1.3.2"
32+ }
33+ kotlinOptions {
34+ jvmTarget = " 11"
3035 }
3136 buildTypes {
3237 getByName(" release" ) {
@@ -45,41 +50,47 @@ android {
4550}
4651
4752dependencies {
48- implementation(" androidx.appcompat:appcompat:1.4 .1" )
49- implementation(" androidx.compose.runtime:runtime:1.2.1 " )
50- implementation(" androidx.compose.ui:ui:1.2.1 " )
51- implementation(" androidx.compose.material:material:1.2.1 " )
52- implementation(" androidx.compose.ui:ui-tooling:1.2.1 " )
53- implementation(" androidx.compose.runtime:runtime-livedata:1.2.1 " )
54- implementation(" androidx.constraintlayout:constraintlayout:2.1.3 " )
55- implementation(" androidx.core:core-ktx:1.7 .0" )
56- implementation(" androidx.fragment:fragment:1.3.6 " )
57- implementation(" androidx.fragment:fragment-ktx:1.3.6 " )
53+ implementation(" androidx.appcompat:appcompat:1.5 .1" )
54+ implementation(" androidx.compose.runtime:runtime:1.3.0 " )
55+ implementation(" androidx.compose.ui:ui:1.3.0 " )
56+ implementation(" androidx.compose.material:material:1.3.0 " )
57+ implementation(" androidx.compose.ui:ui-tooling:1.3.0 " )
58+ implementation(" androidx.compose.runtime:runtime-livedata:1.3.0 " )
59+ implementation(" androidx.constraintlayout:constraintlayout:2.1.4 " )
60+ implementation(" androidx.core:core-ktx:1.9 .0" )
61+ implementation(" androidx.fragment:fragment:1.5.4 " )
62+ implementation(" androidx.fragment:fragment-ktx:1.5.4 " )
5863 implementation(" androidx.recyclerview:recyclerview:1.2.1" )
59- implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0" )
60- implementation(" androidx.lifecycle:lifecycle-livedata-ktx:2.4.0" )
61- implementation(" androidx.navigation:navigation-fragment-ktx:2.3.5" )
62- implementation(" androidx.navigation:navigation-ui-ktx:2.3.5" )
63- implementation(" com.google.android.material:material:1.5.0" )
64- implementation(" com.mparticle:android-core:5.45.1" )
64+ implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1" )
65+ implementation(" androidx.lifecycle:lifecycle-livedata-ktx:2.5.1" )
66+ implementation(" androidx.navigation:navigation-fragment-ktx:2.5.3" )
67+ implementation(" androidx.navigation:navigation-ui-ktx:2.5.3" )
68+ implementation(" com.google.android.material:material:1.7.0" )
69+ implementation(" com.mparticle:android-core:5.48.0" )
70+ implementation(" com.google.android.gms:play-services-ads-identifier:18.0.1" )
71+
72+ // implementation(platform("com.google.firebase:firebase-bom:31.0.2"))
73+ // implementation("com.google.firebase:firebase-analytics-ktx")
74+
75+ // implementation("com.mparticle:android-media:1.4.2")
6576
66- implementation(" com.github.bumptech.glide:glide:4.13 .2" )
77+ implementation(" com.github.bumptech.glide:glide:4.14 .2" )
6778
6879 api(" org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.4" )
6980 api(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" )
7081 api(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4" )
7182
72- implementation(" com.squareup.retrofit2:retrofit:2.6.1 " )
73- implementation(" com.squareup.retrofit2:converter-gson:2.6.1 " )
74- implementation(" com.squareup.retrofit2:converter-moshi:2.6.1 " )
75- implementation(" com.squareup.retrofit2:adapter-rxjava2:2.6.1 " )
76- implementation(" io.reactivex.rxjava2:rxjava:2.1.14 " )
77- implementation(" io.reactivex.rxjava2:rxandroid:2.0.2 " )
83+ implementation(" com.squareup.retrofit2:retrofit:2.9.0 " )
84+ implementation(" com.squareup.retrofit2:converter-gson:2.9.0 " )
85+ implementation(" com.squareup.retrofit2:converter-moshi:2.9.0 " )
86+ implementation(" com.squareup.retrofit2:adapter-rxjava2:2.9.0 " )
87+ implementation(" io.reactivex.rxjava2:rxjava:2.2.21 " )
88+ implementation(" io.reactivex.rxjava2:rxandroid:2.1.1 " )
7889 implementation(" com.squareup.okhttp3:logging-interceptor:4.10.0" )
7990 implementation(" com.squareup.okhttp3:okhttp:4.10.0" )
8091 implementation(" com.squareup.okhttp3:logging-interceptor:4.10.0" )
8192
82- debugImplementation(" androidx.compose.ui:ui-tooling:1.1.1 " )
93+ debugImplementation(" androidx.compose.ui:ui-tooling:1.3.0 " )
8394
8495 val roomVersion = " 2.4.3"
8596 implementation(" androidx.room:room-runtime:$roomVersion " )
@@ -94,7 +105,7 @@ dependencies {
94105 testImplementation(" androidx.room:room-testing:$roomVersion " )
95106 testImplementation(" junit:junit:4.13.2" )
96107
97- androidTestImplementation(" androidx.compose.ui:ui-test-junit4:1.2.1 " )
108+ androidTestImplementation(" androidx.compose.ui:ui-test-junit4:1.3.0 " )
98109 androidTestImplementation(" androidx.test:core:1.4.0" )
99110 androidTestImplementation(" androidx.test:core-ktx:1.4.0" )
100111 androidTestImplementation(" androidx.test.espresso:espresso-core:3.4.0" )
0 commit comments