[go: nahoru, domu]

blob: 733379daee747172675e03f1d65b9bbaf5844eba [file] [log] [blame]
/*
* Copyright (C) 2020 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.
*/
/**
* This file was created using the `create_project.py` script located in the
* `<AndroidX root>/development/project-creator` directory.
*
* Please use that script when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("kotlin-android")
}
android {
buildTypes.configureEach {
consumerProguardFiles "proguard-rules.pro"
}
namespace "androidx.work.multiprocess"
}
dependencies {
api project(":work:work-runtime")
api(libs.kotlinStdlib)
api(libs.kotlinCoroutinesAndroid)
api(libs.guavaListenableFuture)
implementation("androidx.core:core:1.12.0")
implementation("androidx.concurrent:concurrent-futures-ktx:1.2.0-alpha03")
implementation("androidx.room:room-runtime:2.6.1")
androidTestImplementation(libs.testExtJunit)
androidTestImplementation(libs.testCore)
androidTestImplementation(libs.testRunner)
androidTestImplementation(libs.espressoCore)
androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has its own MockMaker
androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has its own MockMaker
androidTestImplementation(libs.truth)
}
androidx {
name = "WorkManager Multiprocess"
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2020"
description = "Android WorkManager runtime library"
failOnDeprecationWarnings = false
metalavaK2UastEnabled = true
legacyDisableKotlinStrictApiMode = true
}