blob: 575678529d4da08db80f4d6b9a3a8fdde06b1e7b [file] [log] [blame]
Aurimas Liutikas9697da72016-12-22 15:50:42 -08001apply plugin: android.support.SupportLibraryPlugin
Yuichi Arakic876cd82016-02-05 14:39:00 +09002
Yuichi Arakic876cd82016-02-05 14:39:00 +09003dependencies {
Aurimas Liutikas1989c3c2017-07-05 14:44:09 -07004 api project(':support-annotations')
Yuichi Araki3f825832017-06-15 16:58:52 +09005 api project(':support-compat')
6 compileOnly project(':support-fragment')
Yuichi Arakic876cd82016-02-05 14:39:00 +09007
Aurimas Liutikas9edca682017-07-25 09:12:35 -07008 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 Araki3f825832017-06-15 16:58:52 +090012 androidTestImplementation project(':support-v4')
13 androidTestImplementation project(':appcompat-v7')
Yuichi Arakic876cd82016-02-05 14:39:00 +090014}
15
16android {
Yuichi Arakic876cd82016-02-05 14:39:00 +090017 defaultConfig {
18 minSdkVersion 14
Yuichi Arakic876cd82016-02-05 14:39:00 +090019 }
20
21 sourceSets {
Alan Viverette9439d702016-10-25 14:45:10 +010022 main.java.srcDirs = [
23 'base',
Yuichi Araki4e5a7272016-12-01 16:50:32 +090024 'api14',
25 'api18',
Yuichi Arakia6f2ebe2017-01-17 17:41:46 +090026 'api19',
Yuichi Araki317d4bb2017-01-27 14:27:29 +090027 'api21',
Yuichi Araki7bd2fbc2017-05-10 12:29:11 +090028 'api22',
Alan Viverette9439d702016-10-25 14:45:10 +010029 'src'
30 ]
31 main.res.srcDirs = [
32 'res',
33 'res-public'
34 ]
Yuichi Arakic876cd82016-02-05 14:39:00 +090035 }
Yuichi Araki81580512017-02-09 15:55:53 +090036
Yuichi Araki3f825832017-06-15 16:58:52 +090037 buildTypes.all {
38 consumerProguardFiles 'proguard-rules.pro'
39 }
40
Yuichi Araki81580512017-02-09 15:55:53 +090041 aaptOptions {
42 additionalParameters "--no-version-transitions"
43 }
Yuichi Arakic876cd82016-02-05 14:39:00 +090044}
45
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080046supportLibrary {
47 name 'Android Transition Support Library'
48 inceptionYear '2016'
49 description 'Android Transition Support Library'
50}