Aurimas Liutikas | ca04e9a | 2017-08-23 21:19:51 -0700 | [diff] [blame] | 1 | apply plugin: android.support.SupportAndroidLibraryPlugin |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 2 | |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 3 | dependencies { |
Aurimas Liutikas | 1989c3c | 2017-07-05 14:44:09 -0700 | [diff] [blame] | 4 | api project(':support-annotations') |
Yuichi Araki | 3f82583 | 2017-06-15 16:58:52 +0900 | [diff] [blame] | 5 | api project(':support-compat') |
| 6 | compileOnly project(':support-fragment') |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 7 | |
Aurimas Liutikas | 9edca68 | 2017-07-25 09:12:35 -0700 | [diff] [blame] | 8 | androidTestImplementation libs.test_runner, { exclude module: 'support-annotations' } |
| 9 | androidTestImplementation libs.espresso_core, { exclude module: 'support-annotations' } |
| 10 | androidTestImplementation libs.mockito_core, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker |
| 11 | androidTestImplementation libs.dexmaker_mockito, { exclude group: 'net.bytebuddy' } // DexMaker has it"s own MockMaker |
Yuichi Araki | 3f82583 | 2017-06-15 16:58:52 +0900 | [diff] [blame] | 12 | androidTestImplementation project(':support-v4') |
| 13 | androidTestImplementation project(':appcompat-v7') |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | android { |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 17 | defaultConfig { |
| 18 | minSdkVersion 14 |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 19 | } |
| 20 | |
Aurimas Liutikas | 96b3dee | 2017-09-29 17:48:25 +0000 | [diff] [blame] | 21 | sourceSets { |
| 22 | main.java.srcDirs = [ |
| 23 | 'base', |
| 24 | 'api14', |
| 25 | 'api18', |
| 26 | 'api19', |
| 27 | 'api21', |
| 28 | 'api22', |
| 29 | 'src' |
| 30 | ] |
| 31 | main.res.srcDirs = [ |
| 32 | 'res', |
| 33 | 'res-public' |
| 34 | ] |
| 35 | } |
| 36 | |
Yuichi Araki | 3f82583 | 2017-06-15 16:58:52 +0900 | [diff] [blame] | 37 | buildTypes.all { |
| 38 | consumerProguardFiles 'proguard-rules.pro' |
| 39 | } |
| 40 | |
Yuichi Araki | 8158051 | 2017-02-09 15:55:53 +0900 | [diff] [blame] | 41 | aaptOptions { |
| 42 | additionalParameters "--no-version-transitions" |
| 43 | } |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 44 | } |
| 45 | |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 46 | supportLibrary { |
| 47 | name 'Android Transition Support Library' |
Aurimas Liutikas | e1f39f0 | 2017-08-23 17:59:58 -0700 | [diff] [blame] | 48 | publish true |
Aurimas Liutikas | 16cd13b | 2017-01-04 15:00:13 -0800 | [diff] [blame] | 49 | inceptionYear '2016' |
| 50 | description 'Android Transition Support Library' |
| 51 | } |