blob: b5a13ee82ea8a1840388ed502b21a7af26528a00 [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')
5 api project(':support-appcompat-v7')
6 api project(':support-recyclerview-v7')
7 api project(':support-transition')
Kirill Grouchnikov394c4272015-12-21 14:09:23 -05008
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07009 androidTestImplementation (libs.test_runner) {
Chris Banesf6c82b62016-01-13 16:38:59 +000010 exclude module: 'support-annotations'
11 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070012 androidTestImplementation (libs.espresso_core) {
Chris Banesf6c82b62016-01-13 16:38:59 +000013 exclude module: 'support-annotations'
14 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070015 androidTestImplementation (libs.espresso_contrib) {
Chris Banes907eab42016-11-21 12:52:14 +000016 exclude group: 'com.android.support'
17 }
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070018 androidTestImplementation libs.mockito_core
19 androidTestImplementation libs.dexmaker_mockito
20 androidTestImplementation project(':support-testutils')
21 androidTestImplementation libs.multidex
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080022
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -070023 testImplementation libs.junit
24 testImplementation (libs.test_runner) {
Aurimas Liutikas480ee202016-10-21 10:12:53 -070025 exclude module: 'support-annotations'
26 }
Chris Banes95cf1162015-01-13 10:27:15 +000027}
28
29android {
Kirill Grouchnikov394c4272015-12-21 14:09:23 -050030 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080031 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000032 // This disables the builds tools automatic vector -> PNG generation
33 generatedDensities = []
Aurimas Liutikas963facb2017-06-12 10:10:33 -070034 multiDexEnabled true
Kirill Grouchnikov394c4272015-12-21 14:09:23 -050035 }
36
Chris Banes95cf1162015-01-13 10:27:15 +000037 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010038 main.java.srcDirs = [
39 'base',
40 'gingerbread',
Alan Viverette9439d702016-10-25 14:45:10 +010041 'ics',
42 'lollipop',
43 'src'
44 ]
45 main.res.srcDirs = [
46 'res',
47 'res-public'
48 ]
Chris Banes95cf1162015-01-13 10:27:15 +000049 main.resources.srcDir 'src'
50
Chris Banesa2f4dd02016-06-21 14:41:43 +010051 test.java.srcDir 'jvm-tests/src'
Chris Banes95cf1162015-01-13 10:27:15 +000052 }
53
Yuichi Arakie764a032015-06-30 18:45:49 +090054 buildTypes.all {
55 consumerProguardFiles 'proguard-rules.pro'
56 }
Alan Viveretteeb648622016-03-11 19:33:03 +000057
58 aaptOptions {
59 additionalParameters "--no-version-vectors"
60 }
ztenghuie255ac72017-01-26 15:29:16 -080061
62 buildTypes {
63 debug {
64 pseudoLocalesEnabled true
65 }
66 }
Chris Banes95cf1162015-01-13 10:27:15 +000067}
Chris Banes3f175da2015-10-01 12:42:26 +010068
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080069supportLibrary {
70 name 'Android Design Support Library'
71 inceptionYear '2015'
Kirill Grouchnikov5c5181c2017-05-16 10:58:53 -070072 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 -080073}