1/* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17import androidx.build.AndroidXConfig 18 19plugins { 20 id("AndroidXPlugin") 21 id("com.android.privacy-sandbox-sdk") 22} 23 24android { 25 namespace = "androidx.privacysandbox.ui.integration.mediateesdkproviderwrapper" 26 compileSdk = 35 27 compileSdkExtension = 14 28 minSdk = 21 29 buildToolsVersion = AndroidXConfig.getDefaultAndroidConfig(project).buildToolsVersion 30 31 //TODO(b/389890488): This is added to suppress missing stub classes warning from ui-compose. 32 //Can be removed once linked bug is fixed. 33 optimization.keepRules.files += project.file('proguard-rules.pro') 34 35 bundle { 36 packageName = "androidx.privacysandbox.ui.integration.mediateesdkproviderwrapper" 37 38 // This is the entry point class to our SDK in the SDK Runtime. It enables backward 39 // compatibility support. 40 sdkProviderClassName = "androidx.privacysandbox.sdkruntime.provider.SandboxedSdkProviderAdapter" 41 42 // This is the class path of our implementation of the SandboxedSdkProviderCompat class. 43 compatSdkProviderClassName = "androidx.privacysandbox.ui.integration.mediateesdkprovider.SdkProviderImpl" 44 45 setVersion(1, 0, 0) 46 } 47} 48 49dependencies { 50 include(project(":privacysandbox:ui:integration-tests:mediateesdkprovider")) 51} 52