Skip to content

Commit 3f6a23a

Browse files
Gradle 7 working settings
1 parent 74155a2 commit 3f6a23a

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

core-sdk-samples/higgs-shop-sample-app/app/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
android {
14-
compileSdk = 33
14+
compileSdk = 34
1515
defaultConfig {
1616
applicationId = "com.mparticle.example.higgsshopsampleapp"
1717
minSdk = 24
@@ -26,9 +26,10 @@ android {
2626
buildFeatures {
2727
dataBinding = true
2828
compose = true
29+
buildConfig = true
2930
}
3031
composeOptions {
31-
kotlinCompilerExtensionVersion = "1.3.2"
32+
kotlinCompilerExtensionVersion = "1.5.2"
3233
}
3334
kotlinOptions {
3435
jvmTarget = "11"
@@ -93,7 +94,7 @@ dependencies {
9394

9495
debugImplementation("androidx.compose.ui:ui-tooling:1.3.0")
9596

96-
val roomVersion = "2.4.3"
97+
val roomVersion = "2.6.1"
9798
implementation("androidx.room:room-runtime:$roomVersion")
9899
// annotationProcessor("androidx.room:room-compiler:$roomVersion")
99100
kapt("androidx.room:room-compiler:$roomVersion")

core-sdk-samples/higgs-shop-sample-app/app/src/main/kotlin/com/mparticle/example/higgsshopsampleapp/activities/CheckoutActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class CheckoutActivity : AppCompatActivity() {
112112
snackbar.setTextColor(getColor(R.color.black))
113113
snackbar.setActionTextColor(getColor(R.color.blue_4079FE))
114114
snackbar.view.setPadding(20, 10, 20, 0)
115-
(snackbar.view.findViewById<TextView>(R.id.snackbar_text))?.textAlignment =
115+
(snackbar.view.findViewById<TextView>(com.google.android.material.R.id.snackbar_text))?.textAlignment =
116116
View.TEXT_ALIGNMENT_TEXT_START
117117
val snackbarActionTextView =
118118
snackbar.view.findViewById<View>(com.google.android.material.R.id.snackbar_action) as TextView

core-sdk-samples/higgs-shop-sample-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
}
88
dependencies {
99
classpath("com.android.tools.build:gradle:7.3.1")
10-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
10+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
1111
classpath("com.google.gms:google-services:4.3.14")
1212
}
1313
}

local.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## This file must *NOT* be checked into Version Control Systems,
2+
# as it contains information specific to your local configuration.
3+
#
4+
# Location of the SDK. This is only used by Gradle.
5+
# For customization when using a Version Control System, please read the
6+
# header note.
7+
#Wed Mar 12 17:04:50 EDT 2025
8+
sdk.dir=/Users/mpandya/Library/Android/sdk

0 commit comments

Comments
 (0)