blob: d9f2452d7e6e19cdbbebc4c87266802d54ed0c99 [file] [log] [blame]
import static android.support.dependencies.DependenciesKt.*
import android.support.LibraryGroups
import android.support.LibraryVersions
plugins {
id("SupportAndroidLibraryPlugin")
}
dependencies {
api(project(":support-annotations"))
api(project(":support-compat"))
compileOnly project(':support-fragment')
androidTestImplementation(TEST_RUNNER, libs.exclude_annotations)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_annotations)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(project(":support-v4"))
androidTestImplementation(project(":appcompat-v7"))
}
android {
defaultConfig {
minSdkVersion 14
}
sourceSets {
main.java.srcDirs = [
'base',
'api14',
'api18',
'api19',
'api21',
'api22',
'src'
]
main.res.srcDirs = [
'res',
'res-public'
]
}
buildTypes.all {
consumerProguardFiles 'proguard-rules.pro'
}
aaptOptions {
additionalParameters "--no-version-transitions"
}
}
supportLibrary {
name = "Android Transition Support Library"
publish = true
mavenVersion = LibraryVersions.SUPPORT_LIBRARY
mavenGroup = LibraryGroups.SUPPORT
inceptionYear = "2016"
description = "Android Transition Support Library"
legacySourceLocation = true
}