blob: 75555c0930a860a4badca015166b71511730a360 [file] [log] [blame]
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -08001import static android.support.dependencies.DependenciesKt.*
Aurimas Liutikas44d7d862017-10-27 17:55:06 -07002import android.support.LibraryGroups
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -08003import android.support.LibraryVersions
Aurimas Liutikas44d7d862017-10-27 17:55:06 -07004
Aurimas Liutikasf8b708a2017-11-02 16:07:13 -07005plugins {
6 id("SupportAndroidLibraryPlugin")
7}
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08008
Xavier Ducrohet86fb8ef2013-02-22 15:04:37 -08009dependencies {
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080010 api(project(":support-annotations"))
11 api(project(":support-compat"))
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080012
Jake Wharton66807fc2017-12-05 14:44:35 -050013 androidTestImplementation(TEST_RUNNER)
14 androidTestImplementation(ESPRESSO_CORE)
Aurimas Liutikasb8fd9b62017-11-22 12:55:43 -080015 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
16 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
Griff Hazen43227bb2014-05-28 07:59:33 -070017}
18
19android {
Griff Hazen43227bb2014-05-28 07:59:33 -070020 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010021 main.java.srcDirs = [
Alan Viverette9439d702016-10-25 14:45:10 +010022 'kitkat',
Alan Viverette9439d702016-10-25 14:45:10 +010023 'api21',
Alan Viverette9439d702016-10-25 14:45:10 +010024 'java'
25 ]
Chris Banesaf26d9f2015-01-20 19:13:52 +000026 }
Griff Hazen43227bb2014-05-28 07:59:33 -070027}
28
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080029supportLibrary {
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080030 name = "Android Support Library core utils"
31 publish = true
Aurimas Liutikas78c1ab72017-11-08 13:33:51 -080032 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
Aurimas Liutikas44d7d862017-10-27 17:55:06 -070033 mavenGroup = LibraryGroups.SUPPORT
Aurimas Liutikasea5ee822017-11-06 12:52:28 -080034 inceptionYear = "2011"
35 description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later."
36 legacySourceLocation = true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080037}