[go: nahoru, domu]

blob: 5621fbcac2e89b7e42723d88e3388d690df9703f [file] [log] [blame]
/**
* 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("com.android.library")
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
api("androidx.core:core:1.3.0")
implementation("androidx.collection:collection:1.0.0")
api("androidx.customview:customview:1.0.0")
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.testRules)
androidTestImplementation(libs.material, {
exclude group: "androidx.coordinatorlayout", module: "coordinatorlayout"
})
androidTestImplementation(libs.espressoCore, excludes.espresso)
androidTestImplementation(libs.bundles.espressoContrib, excludes.espresso)
androidTestImplementation(libs.mockitoCore, excludes.bytebuddy)
androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(project(":internal-testutils-runtime"), {
exclude group: "androidx.coordinatorlayout", module: "coordinatorlayout"
})
androidTestImplementation(libs.multidex)
}
android {
sourceSets {
main.res.srcDirs = [
"src/main/res",
"src/main/res-public"
]
}
buildTypes.configureEach {
consumerProguardFiles "proguard-rules.pro"
}
defaultConfig {
multiDexEnabled = true
}
testOptions {
animationsDisabled = true
}
namespace "androidx.coordinatorlayout"
}
androidx {
name = "Coordinator Layout"
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2011"
description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later."
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
}