1 import static androidx.build.dependencies.DependenciesKt.* 2 import androidx.build.LibraryGroups 3 import androidx.build.LibraryVersions 4 5 plugins { 6 id("SupportAndroidLibraryPlugin") 7 id("org.jetbrains.kotlin.android") 8 } 9 10 android { 11 buildTypes { 12 debug { 13 testCoverageEnabled = false // Breaks Kotlin compiler. 14 } 15 } 16 } 17 18 dependencies { 19 api(KOTLIN_STDLIB) 20 api(project(":annotation")) 21 api(project(":core")) 22 23 androidTestImplementation(JUNIT) 24 androidTestImplementation(TEST_RUNNER) 25 androidTestImplementation(TEST_RULES) 26 androidTestImplementation(TRUTH) 27 androidTestImplementation(project(":internal-testutils-ktx")) 28 } 29 30 supportLibrary { 31 name = "Core Kotlin Extensions" 32 publish = true 33 mavenVersion = LibraryVersions.SUPPORT_LIBRARY 34 mavenGroup = LibraryGroups.CORE 35 inceptionYear = "2018" 36 description = "Kotlin extensions for 'core' artifact" 37 } 38