Skip to content

Commit

Permalink
fix: Add SDKRT dependencies by reference (#118)
Browse files Browse the repository at this point in the history
* Fix: Add SDKRT dependencies by reference

* fix: Updated mediatee dependencies with the same principles
  • Loading branch information
notmariazoe authored Aug 12, 2024
1 parent ac93e2e commit 7da5dbf
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
4 changes: 2 additions & 2 deletions PrivacySandboxKotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ buildscript {
ext.kotlin_version = '1.9.10'
ext.ksp_version = "$kotlin_version-1.0.13"
ext.privacy_sandbox_activity_version = "1.0.0-alpha01"
ext.privacy_sandbox_sdk_runtime_version = "1.0.0-alpha13"
ext.privacy_sandbox_tools_version = "1.0.0-alpha08"
ext.privacy_sandbox_sdk_runtime_version = "1.0.0-alpha14"
ext.privacy_sandbox_tools_version = "1.0.0-alpha09"
ext.privacy_sandbox_ui_version = "1.0.0-alpha09"
repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion PrivacySandboxKotlin/client-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ dependencies {

implementation "androidx.appcompat:appcompat:1.6.1"
implementation "com.google.android.material:material:1.9.0"
implementation 'androidx.privacysandbox.sdkruntime:sdkruntime-client:1.0.0-alpha12'
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-client:$privacy_sandbox_sdk_runtime_version"
}
16 changes: 10 additions & 6 deletions PrivacySandboxKotlin/example-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,23 @@ dependencies {
debugImplementation project(":mediatee-sdk-bundle")

implementation 'androidx.activity:activity-ktx:1.9.0'
ksp "androidx.privacysandbox.tools:tools-apicompiler:$privacy_sandbox_tools_version"
ksp 'androidx.annotation:annotation:1.6.0'
implementation "androidx.privacysandbox.ui:ui-client:$privacy_sandbox_ui_version"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10'
implementation "androidx.privacysandbox.tools:tools:$privacy_sandbox_tools_version"
implementation "androidx.lifecycle:lifecycle-common:2.7.0"
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-provider:$privacy_sandbox_sdk_runtime_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1"

implementation "androidx.privacysandbox.activity:activity-core:$privacy_sandbox_activity_version"
implementation "androidx.privacysandbox.activity:activity-provider:$privacy_sandbox_activity_version"

implementation "androidx.privacysandbox.ui:ui-core:$privacy_sandbox_ui_version"
implementation "androidx.privacysandbox.ui:ui-provider:$privacy_sandbox_ui_version"
implementation 'androidx.privacysandbox.sdkruntime:sdkruntime-core:1.0.0-alpha13'
implementation 'androidx.privacysandbox.sdkruntime:sdkruntime-client:1.0.0-alpha13'
implementation "androidx.privacysandbox.ui:ui-client:$privacy_sandbox_ui_version"

implementation "androidx.privacysandbox.sdkruntime:sdkruntime-core:$privacy_sandbox_sdk_runtime_version"
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-client:$privacy_sandbox_sdk_runtime_version"
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-provider:$privacy_sandbox_sdk_runtime_version"

ksp "androidx.privacysandbox.tools:tools-apicompiler:$privacy_sandbox_tools_version"
implementation "androidx.privacysandbox.tools:tools:$privacy_sandbox_tools_version"
}
14 changes: 9 additions & 5 deletions PrivacySandboxKotlin/mediatee-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,23 @@ android {
}

dependencies {
ksp "androidx.privacysandbox.tools:tools-apicompiler:$privacy_sandbox_tools_version"
ksp 'androidx.annotation:annotation:1.6.0'
implementation "androidx.privacysandbox.ui:ui-client:$privacy_sandbox_ui_version"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10'
implementation "androidx.privacysandbox.tools:tools:$privacy_sandbox_tools_version"
implementation "androidx.lifecycle:lifecycle-common:2.7.0"
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-provider:$privacy_sandbox_sdk_runtime_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1"

implementation "androidx.privacysandbox.activity:activity-core:$privacy_sandbox_activity_version"
implementation "androidx.privacysandbox.activity:activity-provider:$privacy_sandbox_activity_version"

implementation "androidx.privacysandbox.ui:ui-core:$privacy_sandbox_ui_version"
implementation "androidx.privacysandbox.ui:ui-provider:$privacy_sandbox_ui_version"
implementation 'androidx.privacysandbox.sdkruntime:sdkruntime-core:1.0.0-alpha13'
implementation 'androidx.privacysandbox.sdkruntime:sdkruntime-client:1.0.0-alpha13'

implementation "androidx.privacysandbox.sdkruntime:sdkruntime-core:$privacy_sandbox_sdk_runtime_version"
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-client:$privacy_sandbox_sdk_runtime_version"
implementation "androidx.privacysandbox.sdkruntime:sdkruntime-provider:$privacy_sandbox_sdk_runtime_version"

implementation "androidx.privacysandbox.tools:tools:$privacy_sandbox_tools_version"
ksp "androidx.privacysandbox.tools:tools-apicompiler:$privacy_sandbox_tools_version"
}

0 comments on commit 7da5dbf

Please sign in to comment.