blob: 53ebd01e3b3892f7529e50d3344f45cc2e1dfec8 [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import android.support.LibraryGroups
import android.support.LibraryVersions
import android.support.SupportLibraryExtension
import static android.support.dependencies.DependenciesKt.*
plugins {
id("SupportAndroidLibraryPlugin")
}
android {
buildTypes.all {
consumerProguardFiles 'proguard-rules.pro'
}
}
dependencies {
api(project(":lifecycle:extensions"))
api(project(":room:runtime"))
annotationProcessor(project(":room:compiler"))
androidTestImplementation(project(":arch:core-testing"))
androidTestImplementation(TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
testImplementation(JUNIT)
}
supportLibrary {
name = "Android Support Library WorkManager"
publish = true
mavenVersion = LibraryVersions.WORKMANAGER
mavenGroup = LibraryGroups.WORKMANAGER
inceptionYear = "2017"
description = "The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren\'t a part of the framework APIs. Compatible on devices running API 14 or later."
url = SupportLibraryExtension.ARCHITECTURE_URL
}