blob: 29a878ca3c6046db7dc4c5c2afdb49117d4093a2 [file]
/*
* 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("AndroidXComposePlugin")
}
androidx {
name = "Remote Compose Creation Compose"
type = SoftwareType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2024"
description = "Provides a compose API to create RemoteCompose documents"
enableRobolectric()
addGoldenImageAssets()
}
android {
namespace = "androidx.compose.remote.creation.compose"
compileSdk { version = release(35) }
defaultConfig {
minSdk { version = release(29) }
}
}
dependencies {
api(libs.jspecify)
api("androidx.collection:collection:1.5.0")
implementation(project(":compose:remote:remote-core"))
implementation(project(":compose:remote:remote-creation"))
implementation(project(":compose:remote:remote-player-core"))
implementation("androidx.graphics:graphics-path:1.1.0-alpha01")
implementation(project(":compose:ui:ui"))
implementation(project(":compose:ui:ui-text"))
implementation("androidx.core:core-ktx:1.16.0")
implementation(project(":compose:foundation:foundation"))
implementation(project(":compose:foundation:foundation-layout"))
implementation(project(":compose:runtime:runtime"))
implementation("androidx.lifecycle:lifecycle-viewmodel:2.9.2")
implementation("androidx.savedstate:savedstate:1.3.1")
implementation(project(":compose:material:material"))
implementation("androidx.appcompat:appcompat:1.7.1")
testImplementation(libs.junit)
testImplementation(libs.truth)
testImplementation(libs.testParameterInjector)
testImplementation(libs.testCoreKtx)
testImplementation(libs.testRules)
testImplementation(libs.kotlinCoroutinesTest)
testImplementation(libs.kotlinTest)
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.junit)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.kotlinTest)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(libs.testParameterInjector)
androidTestImplementation(libs.dexmakerMockito)
androidTestImplementation(libs.mockitoCore)
androidTestImplementation(libs.mockitoKotlin)
androidTestImplementation(project(":test:uiautomator:uiautomator"))
androidTestImplementation(project(":test:uiautomator:uiautomator-shell"))
androidTestImplementation(project(":compose:remote:remote-core-testutils"))
androidTestImplementation(project(":compose:remote:remote-player-view"))
androidTestImplementation(project(":compose:remote:remote-player-compose-testutils"))
androidTestImplementation(project(":compose:test-utils"))
androidTestImplementation(project(":compose:ui:ui-test-junit4"))
androidTestImplementation(project(":test:screenshot:screenshot"))
androidTestImplementation("org.jetbrains.kotlin:kotlin-reflect")
}