blob: 2e6d36dbc2e94b21702d3ab92e6efe9b48d936ac [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 Preview Tooling"
type = SoftwareType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2025"
description = "Remote Compose tooling library API. This library provides the API to provide IDE support for previewing Remote Compose UI."
}
android {
namespace = "androidx.compose.remote.tooling.preview"
compileSdk { version = release(37) }
defaultConfig {
minSdk { version = release(26) }
}
}
dependencies {
implementation("androidx.compose.runtime:runtime:1.8.3")
implementation("androidx.compose.foundation:foundation:1.8.3")
implementation("androidx.compose.ui:ui:1.8.3")
implementation("androidx.compose.ui:ui-tooling-preview:1.12.0-beta02")
implementation(project(":compose:remote:remote-core"))
implementation(project(":compose:remote:remote-creation"))
implementation(project(":compose:remote:remote-creation-core"))
implementation(project(":compose:remote:remote-creation-compose"))
implementation(project(":compose:remote:remote-player-core"))
implementation(project(":compose:remote:remote-player-compose"))
}