diff --git a/build.gradle b/build.gradle index 43a9b40..743841b 100644 --- a/build.gradle +++ b/build.gradle @@ -24,9 +24,15 @@ plugins { } allprojects { proj -> + + def property = { key -> + return System.getenv(key) ?: (project.hasProperty(key) ? project."$key" : "") + } + repositories { google() mavenCentral() + maven { url property("ARTIFACTORY_MOBILE_LIBS_MVN_RELEASE_URL") } } apply plugin: 'pl.allegro.tech.build.axion-release' diff --git a/sample/build.gradle b/sample/build.gradle index c48a70d..96f823c 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -8,11 +8,14 @@ android { return System.getenv(key) ?: (project.hasProperty(key) ? project."$key" : "") } + compileSdkVersion 33 + defaultConfig { applicationId "com.rakuten.tech.mobile.sdkutils.sample" versionCode 1 versionName "1.0" minSdkVersion 23 + targetSdkVersion 33 buildConfigField("String", "EVENT_LOGGER_API_URL_PRD", "\"${property("EVENT_LOGGER_API_URL_PRD")}\"") buildConfigField("String", "EVENT_LOGGER_API_URL_STG", "\"${property("EVENT_LOGGER_API_URL_STG")}\"") @@ -70,6 +73,7 @@ dependencies { implementation "com.squareup.okhttp3:okhttp:$CONFIG.versions.okhttp" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2" implementation 'com.google.code.gson:gson:2.8.9' + implementation 'com.rakuten.tech.mobile.rmc:rmc-inappmessaging:1.0.0' // used for `rmcSdks` EventLogger field implementation project(':sdk-utils') }