blob: 9a12cbe58e1d5151b1612a92435ca436ebafee28 [file]
/*
* Copyright (C) 2025 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import androidx.build.SoftwareType
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
androidx {
name = "Remote Compose Player View"
type = SoftwareType.PUBLISHED_LIBRARY
inceptionYear = "2024"
description = "Under Development"
addGoldenImageAssets()
}
android {
namespace = "androidx.compose.remote.player.view"
compileSdk { version = release(35) }
defaultConfig {
minSdk { version = release(26) }
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
api("androidx.annotation:annotation:1.9.1")
api(libs.jspecify)
implementation(project(":compose:remote:remote-player-core"))
implementation(project(":compose:remote:remote-core"))
implementation("androidx.customview:customview:1.2.0")
implementation(libs.androidx.core)
testImplementation(libs.junit)
testImplementation(project(":compose:remote:remote-creation"))
testImplementation(project(":compose:remote:remote-creation-core"))
testImplementation(libs.testCore)
testImplementation(libs.testExtJunit)
testImplementation(libs.testRunner)
testImplementation(libs.robolectric)
androidTestImplementation(project(":compose:remote:remote-creation"))
androidTestImplementation(project(":compose:remote:remote-core-testutils"))
androidTestImplementation(project(":compose:test-utils"))
androidTestImplementation(project(":test:screenshot:screenshot"))
androidTestImplementation("androidx.activity:activity:1.7.2")
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(libs.junit)
androidTestImplementation(libs.kotlinTest)
androidTestImplementation(libs.truth)
}