| 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("org.jetbrains.kotlin.android") |
| } |
| |
| android { |
| buildTypes { |
| debug { |
| testCoverageEnabled = false // Breaks Kotlin compiler. |
| } |
| } |
| } |
| |
| dependencies { |
| api(KOTLIN_STDLIB) |
| api("androidx.annotation:annotation:1.1.0") |
| api(project(":core:core")) |
| |
| androidTestImplementation(JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT) |
| androidTestImplementation(ANDROIDX_TEST_CORE) |
| androidTestImplementation(ANDROIDX_TEST_RUNNER) |
| androidTestImplementation(ANDROIDX_TEST_RULES) |
| androidTestImplementation(TRUTH) |
| androidTestImplementation(project(":internal-testutils-truth")) |
| } |
| |
| androidx { |
| name = "Core Kotlin Extensions" |
| publish = Publish.SNAPSHOT_AND_RELEASE |
| mavenVersion = LibraryVersions.CORE |
| mavenGroup = LibraryGroups.CORE |
| inceptionYear = "2018" |
| description = "Kotlin extensions for 'core' artifact" |
| } |