blob: 7bb1ecbe39c7b3942c139ee794078ee6384254a3 [file] [log] [blame]
/*
* Copyright (C) 2024 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.LibraryType
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("AndroidXComposePlugin")
id("AndroidXPlugin")
}
android {
namespace = "androidx.wear.tiles.samples"
compileSdk = 35
defaultConfig {
applicationId = "androidx.wear.tiles.samples"
minSdk = 30
targetSdk = 35
}
buildTypes {
release {
minifyEnabled = true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures {
viewBinding = true
}
}
dependencies {
implementation(project(":wear:protolayout:protolayout"))
implementation(project(":wear:protolayout:protolayout-material3"))
implementation(project(":wear:protolayout:protolayout-expression"))
implementation(project(":wear:tiles:tiles"))
implementation(libs.kotlinStdlib)
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-graphics")
implementation("androidx.wear.compose:compose-material:1.2.1")
implementation("androidx.wear.compose:compose-foundation:1.2.1")
implementation("androidx.activity:activity-compose:1.9.3")
implementation(libs.guavaListenableFuture)
implementation(libs.guava)
}
androidx {
name = "androidx.wear.tiles:tiles-samples"
type = LibraryType.SAMPLES
inceptionYear = "2024"
description = "Contains the sample code and demo for Tiles using ProtoLayout."
}