blob: 3eafe76e46681b5d0a0e23e7b1314142d0196cec [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.ApkCopyHelperKt
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.android.application")
id("org.jetbrains.kotlin.android")
}
dependencies {
implementation(libs.kotlinStdlib)
implementation("androidx.activity:activity-compose:1.10.1")
implementation(project(":compose:foundation:foundation"))
implementation(project(":compose:runtime:runtime"))
implementation(project(":compose:ui:ui"))
implementation(project(":compose:ui:ui-tooling"))
implementation(project(":navigation3:navigation3-runtime"))
implementation(project(":navigation3:navigation3-ui"))
implementation(project(":xr:glimmer:glimmer"))
implementation(project(":xr:glimmer:glimmer:glimmer-samples"))
}
// Publish an APK so demo app is available in ab/ for devs, PMs, QA to use.
// Can also be used to bisect escaped defects in functionality.
ApkCopyHelperKt.setupAppApkCopy(project, "release")
android {
compileSdk = 36
defaultConfig {
minSdk = 35
}
namespace = "androidx.xr.glimmer.demos"
}