blob: 243ef372b96458fb8ebd8e8fc1cfe2d54f4fe692 [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 {
lintOptions {
fatal("UnknownNullness")
}
}
dependencies {
api("androidx.annotation:annotation:1.1.0-rc01")
api("androidx.core:core:1.1.0-rc01") {
exclude group: 'androidx.annotation'
exclude group: 'com.google.guava', module: 'listenablefuture'
}
api("androidx.lifecycle:lifecycle-runtime:2.1.0-beta01")
api("androidx.lifecycle:lifecycle-viewmodel:2.1.0-beta01")
api(project(":savedstate"))
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
}
androidx {
name = "Activity"
publish = Publish.SNAPSHOT_AND_RELEASE
mavenVersion = LibraryVersions.ACTIVITY
mavenGroup = LibraryGroups.ACTIVITY
inceptionYear = "2018"
description = "Provides the base Activity subclass and the relevant hooks to build a composable structure on top."
}