[go: nahoru, domu]

blob: f7c1023af605e5286804873003cd6fbb071aeea4 [file] [log] [blame]
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("kotlin-android")
}
android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
lintOptions {
fatal("UnknownNullness")
}
buildTypes.all {
consumerProguardFiles("proguard-rules.pro")
}
}
dependencies {
api("androidx.annotation:annotation:1.1.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 = Publish.SNAPSHOT_AND_RELEASE
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."
}