blob: 329d8dc96ac762206b0748a8cd6bd17eb6cfaa20 [file] [log] [blame]
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
import androidx.build.Publish
import static androidx.build.dependencies.DependenciesKt.*
plugins {
id("AndroidXPlugin")
id("com.android.library")
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
api("androidx.core:core:1.0.1")
implementation("androidx.collection:collection:1.0.0")
compileOnly("androidx.fragment:fragment:1.0.0")
compileOnly("androidx.appcompat:appcompat:1.0.1")
androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
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("androidx.appcompat:appcompat:1.0.1")
}
android {
buildTypes.all {
consumerProguardFiles 'proguard-rules.pro'
}
aaptOptions {
additionalParameters "--no-version-transitions"
}
}
androidx {
name = "Android Transition Support Library"
publish = Publish.SNAPSHOT_AND_RELEASE
mavenVersion = LibraryVersions.TRANSITION
mavenGroup = LibraryGroups.TRANSITION
inceptionYear = "2016"
description = "Android Transition Support Library"
failOnDeprecationWarnings = false
trackRestrictedAPIs = false
}