apply plugin: android.support.SupportLibraryPlugin

archivesBaseName = 'transition'

dependencies {
    compile project(':support-annotations')
    compile project(':support-v4')

    androidTestCompile (libs.test_runner) {
        exclude module: 'support-annotations'
    }
    androidTestCompile (libs.espresso_core) {
        exclude module: 'support-annotations'
    }
    androidTestCompile libs.mockito_core
    androidTestCompile libs.dexmaker
    androidTestCompile libs.dexmaker_mockito
}

android {
    defaultConfig {
        minSdkVersion 14
    }

    sourceSets {
        main.java.srcDirs = [
                'base',
                'api14',
                'api18',
                'api19',
                'api21',
                'api22',
                'src'
        ]
        main.res.srcDirs = [
                'res',
                'res-public'
        ]
    }

    aaptOptions {
        additionalParameters "--no-version-transitions"
    }
}

supportLibrary {
    name 'Android Transition Support Library'
    inceptionYear '2016'
    description 'Android Transition Support Library'
}