[go: nahoru, domu]

blob: 1660f2b7583e6ac40d4321b926184290a269b5bb [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.
*/
/**
* 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 androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.android.library")
id("org.jetbrains.kotlin.android")
}
dependencies {
implementation(libs.kotlinStdlib)
api("androidx.core:core-ktx:1.12.0")
api(project(":fragment:fragment-ktx"))
api("androidx.compose.runtime:runtime:1.5.4")
api("androidx.compose.ui:ui:1.5.4")
androidTestImplementation("androidx.activity:activity-compose:1.8.2")
androidTestImplementation(project(":compose:ui:ui-test-junit4"))
androidTestImplementation(project(":compose:material:material"))
androidTestImplementation(project(":compose:test-utils"))
androidTestImplementation(libs.espressoCore, excludes.espresso)
androidTestImplementation(project(":internal-testutils-runtime"))
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.junit)
androidTestImplementation(libs.truth)
}
android {
namespace "androidx.fragment.compose"
}
androidx {
name = "Fragment Compose"
type = LibraryType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS
inceptionYear = "2024"
description = "Integrate Fragments with Compose to provide helper APIs for using Fragments in" +
"Compose or Compose inside of Fragments"
legacyDisableKotlinStrictApiMode = true
samples(project(":fragment:fragment-compose:fragment-compose-samples"))
}