| import static androidx.build.dependencies.DependenciesKt.* |
| import androidx.build.LibraryGroups |
| import androidx.build.LibraryVersions |
| import androidx.build.Publish |
| id("com.android.library") |
| sourceCompatibility = JavaVersion.VERSION_1_7 |
| targetCompatibility = JavaVersion.VERSION_1_7 |
| consumerProguardFiles("proguard-rules.pro") |
| api("androidx.annotation:annotation:1.1.0") |
| implementation("androidx.arch.core:core-common:2.0.1") |
| implementation("androidx.lifecycle:lifecycle-common:2.0.0") |
| androidTestImplementation(KOTLIN_STDLIB) |
| androidTestImplementation("androidx.lifecycle:lifecycle-runtime:2.0.0") |
| androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_CORE) |
| androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| androidTestImplementation(ANDROIDX_TEST_RULES) |
| androidTestImplementation(TRUTH) |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.SAVEDSTATE |
| mavenGroup = LibraryGroups.SAVEDSTATE |
| description = "Provides the base Activity subclass and the relevant hooks to build a composable structure on top." |