blob: a8b95f59f27ce0964ab28a6d7c03c79f5f53aa00 [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Chris Banes95cf1162015-01-13 10:27:15 +00002archivesBaseName = 'design'
3
4dependencies {
Alan Viverette9439d702016-10-25 14:45:10 +01005 compile project(':support-v4')
Chris Banes9840efe2015-01-06 14:02:01 +00006 compile project(':support-appcompat-v7')
Yuichi Araki64bcb672015-09-03 10:25:04 +00007 compile project(':support-recyclerview-v7')
Aurimas Liutikas3cc432a2016-08-19 11:16:37 -07008 compile project(':support-transition')
Kirill Grouchnikov394c4272015-12-21 14:09:23 -05009
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080010 androidTestCompile (libs.test_runner) {
Chris Banesf6c82b62016-01-13 16:38:59 +000011 exclude module: 'support-annotations'
12 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080013 androidTestCompile (libs.espresso_core) {
Chris Banesf6c82b62016-01-13 16:38:59 +000014 exclude module: 'support-annotations'
15 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080016 androidTestCompile (libs.espresso_contrib) {
Chris Banes907eab42016-11-21 12:52:14 +000017 exclude group: 'com.android.support'
18 }
Aurimas Liutikasf09d8582017-01-20 21:49:51 -080019 androidTestCompile libs.mockito_core
20 androidTestCompile libs.dexmaker
21 androidTestCompile libs.dexmaker_mockito
22
23 testCompile libs.junit
24 testCompile ("$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 {
Yigit Boyar02a9e8c2016-01-26 20:41:00 -080030 compileSdkVersion project.ext.currentSdk
Chris Banes95cf1162015-01-13 10:27:15 +000031
Kirill Grouchnikov394c4272015-12-21 14:09:23 -050032 defaultConfig {
Aurimas Liutikasf7513062017-01-05 13:02:27 -080033 minSdkVersion 14
Alan Viveretteeb648622016-03-11 19:33:03 +000034 // This disables the builds tools automatic vector -> PNG generation
35 generatedDensities = []
Kirill Grouchnikov394c4272015-12-21 14:09:23 -050036 }
37
Chris Banes95cf1162015-01-13 10:27:15 +000038 sourceSets {
39 main.manifest.srcFile 'AndroidManifest.xml'
Alan Viverette9439d702016-10-25 14:45:10 +010040 main.java.srcDirs = [
41 'base',
42 'gingerbread',
Alan Viverette9439d702016-10-25 14:45:10 +010043 'ics',
44 'lollipop',
45 'src'
46 ]
47 main.res.srcDirs = [
48 'res',
49 'res-public'
50 ]
Chris Banes95cf1162015-01-13 10:27:15 +000051 main.resources.srcDir 'src'
52
Chris Banesa2f4dd02016-06-21 14:41:43 +010053 test.java.srcDir 'jvm-tests/src'
Chris Banes95cf1162015-01-13 10:27:15 +000054 }
55
Yuichi Arakie764a032015-06-30 18:45:49 +090056 buildTypes.all {
57 consumerProguardFiles 'proguard-rules.pro'
58 }
Alan Viveretteeb648622016-03-11 19:33:03 +000059
60 aaptOptions {
61 additionalParameters "--no-version-vectors"
62 }
Chris Banes95cf1162015-01-13 10:27:15 +000063}
Chris Banes3f175da2015-10-01 12:42:26 +010064
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080065supportLibrary {
66 name 'Android Design Support Library'
67 inceptionYear '2015'
68 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 4 or later."
69}