| import static androidx.build.dependencies.DependenciesKt.* |
| import androidx.build.LibraryGroups |
| import androidx.build.LibraryVersions |
| |
| plugins { |
| id("SupportAndroidLibraryPlugin") |
| id("kotlin-android") |
| } |
| |
| android { |
| lintOptions { |
| fatal("UnknownNullness") |
| } |
| } |
| |
| dependencies { |
| api(project(":annotation")) |
| api(project(":core")) |
| api(ARCH_LIFECYCLE_RUNTIME, libs.exclude_annotations_transitive) |
| |
| androidTestImplementation(KOTLIN_STDLIB) |
| androidTestImplementation(TEST_RUNNER) |
| androidTestImplementation(TEST_RULES) |
| 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 |
| } |
| |
| supportLibrary { |
| name = "Activity" |
| publish = true |
| 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." |
| } |