blob: 9fb3daf97f05ff4c55c94f19b124c2c20d6844dd [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
}
buildTypes.all {
consumerProguardFiles("proguard-rules.pro")
}
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
implementation(ARCH_CORE_COMMON)
implementation(ARCH_LIFECYCLE_COMMON)
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ARCH_LIFECYCLE_RUNTIME)
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."
}