Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 4 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")}\"")
Expand Down Expand Up @@ -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')
}

Expand Down