1/*
2 * Copyright 2024 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17import androidx.build.SoftwareType
18
19plugins {
20    id("AndroidXPlugin")
21    id("com.android.library")
22    id("AndroidXComposePlugin")
23    id("org.jetbrains.kotlin.android")
24}
25
26dependencies {
27    implementation(libs.kotlinStdlib)
28
29    compileOnly(project(":annotation:annotation-sampled"))
30
31    implementation(project(":constraintlayout:constraintlayout-compose"))
32    implementation("androidx.compose.runtime:runtime:1.6.8")
33    implementation("androidx.compose.material:material:1.6.8")
34}
35
36androidx {
37    name = "Constraintlayout Compose Samples"
38    type = SoftwareType.SAMPLES
39    mavenVersion = LibraryVersions.CONSTRAINTLAYOUT_COMPOSE
40    inceptionYear = "2024"
41    description = "Contains the sample code for the Androidx Constraintlayout Compose Library"
42}
43
44android {
45    compileSdk = 35
46    namespace = "androidx.constraintlayout.compose.samples"
47}
48