Aurimas Liutikas | 9697da7 | 2016-12-22 15:50:42 -0800 | [diff] [blame] | 1 | apply plugin: android.support.SupportLibraryPlugin |
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 | |
| 21 | sourceSets { |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 22 | main.java.srcDirs = [ |
| 23 | 'base', |
Yuichi Araki | 4e5a727 | 2016-12-01 16:50:32 +0900 | [diff] [blame] | 24 | 'api14', |
| 25 | 'api18', |
Yuichi Araki | a6f2ebe | 2017-01-17 17:41:46 +0900 | [diff] [blame] | 26 | 'api19', |
Yuichi Araki | 317d4bb | 2017-01-27 14:27:29 +0900 | [diff] [blame] | 27 | 'api21', |
Yuichi Araki | 7bd2fbc | 2017-05-10 12:29:11 +0900 | [diff] [blame] | 28 | 'api22', |
Alan Viverette | 9439d70 | 2016-10-25 14:45:10 +0100 | [diff] [blame] | 29 | 'src' |
| 30 | ] |
| 31 | main.res.srcDirs = [ |
| 32 | 'res', |
| 33 | 'res-public' |
| 34 | ] |
Yuichi Araki | c876cd8 | 2016-02-05 14:39:00 +0900 | [diff] [blame] | 35 | } |
Yuichi Araki | 8158051 | 2017-02-09 15:55:53 +0900 | [diff] [blame] | 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' |
| 48 | inceptionYear '2016' |
| 49 | description 'Android Transition Support Library' |
| 50 | } |