| /** |
| * 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. |
| */ |
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile |
| |
| /* |
| * Copyright (C) 2022 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. |
| */ |
| |
| plugins { |
| id("AndroidXPlugin") |
| id("AndroidXComposePlugin") |
| id("com.android.application") |
| id("org.jetbrains.kotlin.android") |
| } |
| |
| dependencies { |
| api(libs.kotlinStdlib) |
| |
| implementation(project(":graphics:graphics-shapes")) |
| implementation("androidx.collection:collection:1.4.2") |
| implementation("androidx.activity:activity-compose:1.8.0") |
| implementation("androidx.appcompat:appcompat:1.6.1") |
| implementation("androidx.compose.ui:ui:1.5.4") |
| implementation("androidx.compose.ui:ui-graphics:1.5.4") |
| implementation("androidx.compose.foundation:foundation:1.5.4") |
| implementation("androidx.compose.foundation:foundation-layout:1.5.4") |
| implementation("androidx.compose.runtime:runtime:1.5.4") |
| implementation("androidx.core:core-ktx:1.12.0") |
| implementation("androidx.fragment:fragment:1.6.1") |
| implementation(project(":compose:material3:material3")) |
| implementation("androidx.compose.material:material-icons-core:1.7.0") |
| implementation("androidx.compose.material:material-icons-extended:1.6.8") |
| } |
| |
| android { |
| compileSdk = 35 |
| |
| namespace = "androidx.graphics.shapes.testcompose" |
| // TODO(b/313699418): need to update compose.runtime version to 1.6.0+ |
| experimentalProperties["android.lint.useK2Uast"] = false |
| } |