blob: c3393989b7bc2fc6acac53f0f44484e97a2b477c [file] [log] [blame]
/*
* Copyright 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")
id("org.jetbrains.kotlin.android")
id("AndroidXComposePlugin")
}
androidx {
name = "Remote Compose Foundation"
type = SoftwareType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2025"
description = "Provides a set of RemoteCompose foundational UI components, that are built with the RemoteCompose frontend APIs."
addGoldenImageAssets()
}
android {
namespace = "androidx.compose.remote.foundation"
compileSdk = 35
}
dependencies {
api(libs.jspecify)
implementation(project(":compose:remote:remote-frontend"))
implementation(project(":compose:remote:remote-player-view"))
implementation(project(":compose:remote:remote-creation"))
implementation(project(":graphics:graphics-path"))
implementation("androidx.compose.ui:ui:1.8.3")
implementation("androidx.compose.runtime:runtime:1.8.3")
implementation("androidx.compose.foundation:foundation:1.8.3")
implementation("androidx.compose.foundation:foundation-layout:1.8.3")
androidTestImplementation(project(":compose:remote:remote-creation"))
androidTestImplementation(project(":compose:remote:test-utils"))
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)
}