blob: 4cc23ea61a8e3db5ff3ef071ec1352f4e8bb00b3 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Chris Banes95cf1162015-01-13 10:27:15 +00002
3dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07004 api project(':support-v4')
Aurimas Liutikas40e782172017-07-20 14:22:58 -07005 api project(':appcompat-v7')
6 api project(':recyclerview-v7')
7 api project(':transition')
Kirill Grouchnikov394c4272015-12-21 14:09:23 -05008
Aurimas Liutikasa82b39f2017-07-24 17:32:00 -07009 androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' }
10 androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' }
11 androidTestImplementation libs.espresso_contrib, { exclude group: 'com.android.support' }
12 androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
13 androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070014 androidTestImplementation project(':support-testutils')
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080015
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070016 testImplementation libs.junit
17 testImplementation (libs.test_runner) {
Aurimas Liutikas480ee202016-10-21 10:12:53 -070018 exclude module: 'support-annotations'
19 }
Chris Banes95cf1162015-01-13 10:27:15 +000020}
21
22android {
Kirill Grouchnikov394c4272015-12-21 14:09:23 -050023 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080024 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000025 // This disables the builds tools automatic vector -> PNG generation
26 generatedDensities = []
Kirill Grouchnikov394c4272015-12-21 14:09:23 -050027 }
28
Chris Banes95cf1162015-01-13 10:27:15 +000029 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010030 main.java.srcDirs = [
31 'base',
32 'gingerbread',
Alan Viverette9439d702016-10-25 14:45:10 +010033 'ics',
34 'lollipop',
35 'src'
36 ]
37 main.res.srcDirs = [
38 'res',
39 'res-public'
40 ]
Chris Banes95cf1162015-01-13 10:27:15 +000041 main.resources.srcDir 'src'
42
Chris Banesa2f4dd02016-06-21 14:41:43 +010043 test.java.srcDir 'jvm-tests/src'
Chris Banes95cf1162015-01-13 10:27:15 +000044 }
45
Yuichi Arakie764a032015-06-30 18:45:49 +090046 buildTypes.all {
47 consumerProguardFiles 'proguard-rules.pro'
48 }
Alan Viveretteeb648622016-03-11 19:33:03 +000049
50 aaptOptions {
51 additionalParameters "--no-version-vectors"
52 }
ztenghuie255ac72017-01-26 15:29:16 -080053
54 buildTypes {
55 debug {
56 pseudoLocalesEnabled true
57 }
58 }
Chris Banes95cf1162015-01-13 10:27:15 +000059}
Chris Banes3f175da2015-10-01 12:42:26 +010060
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080061supportLibrary {
62 name 'Android Design Support Library'
63 inceptionYear '2015'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070064 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."
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080065}