1 apply plugin: android.support.SupportAndroidLibraryPlugin 2 3 dependencies { 4 api project(':support-annotations') 5 api project(':support-compat') 6 compileOnly project(':support-fragment') 7 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 12 androidTestImplementation project(':support-v4') 13 androidTestImplementation project(':appcompat-v7') 14 } 15 16 android { 17 defaultConfig { 18 minSdkVersion 14 19 } 20 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 37 buildTypes.all { 38 consumerProguardFiles 'proguard-rules.pro' 39 } 40 41 aaptOptions { 42 additionalParameters "--no-version-transitions" 43 } 44 } 45 46 supportLibrary { 47 name 'Android Transition Support Library' 48 publish true 49 inceptionYear '2016' 50 description 'Android Transition Support Library' 51 } 52