blob: be366d62710080bc90c50af28b0863635b7db791 [file] [log] [blame]
Aurimas Liutikasca04e9a2017-08-23 21:19:51 -07001apply plugin: android.support.SupportAndroidLibraryPlugin
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
Aurimas Liutikas96b3dee2017-09-29 17:48:25 +000021 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 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'
Aurimas Liutikase1f39f02017-08-23 17:59:58 -070048 publish true
Aurimas Liutikas16cd13b2017-01-04 15:00:13 -080049 inceptionYear '2016'
50 description 'Android Transition Support Library'
51}