blob: 89f50917d402c5840db6cf084a28a87cb5a57c25 [file] [log] [blame]
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("kotlin-android")
}
android {
lintOptions {
fatal("UnknownNullness")
}
buildTypes.all {
consumerProguardFiles("proguard-rules.pro")
}
}
dependencies {
api("androidx.annotation:annotation:1.0.0")
implementation(ARCH_CORE_COMMON)
implementation(ARCH_LIFECYCLE_COMMON, libs.exclude_annotations_transitive)
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ARCH_LIFECYCLE_RUNTIME, libs.exclude_annotations_transitive)
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
}
androidx {
name = "Activity"
publish = true
mavenVersion = LibraryVersions.SAVEDSTATE
mavenGroup = LibraryGroups.SAVEDSTATE
inceptionYear = "2018"
description = "Provides the base Activity subclass and the relevant hooks to build a composable structure on top."
}