[go: nahoru, domu]

blob: e0ff8e58737fa4cea8b17367f9904a09f2c9832f [file] [log] [blame]
/*
* Copyright 2021 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 androidx.build.Publish
import androidx.build.LibraryType
plugins {
id("AndroidXPlugin")
id("com.android.library")
id("kotlin-android")
id("com.google.protobuf")
}
dependencies {
api("androidx.annotation:annotation:1.1.0")
api(libs.guavaListenableFuture)
api(project(":wear:tiles:tiles-renderer"))
implementation "androidx.concurrent:concurrent-futures:1.1.0"
implementation "androidx.concurrent:concurrent-futures-ktx:1.1.0"
implementation "androidx.core:core:1.3.2"
implementation "androidx.wear:wear:1.2.0"
implementation(project(":wear:tiles:tiles"))
implementation(libs.kotlinCoroutinesCore)
implementation(libs.kotlinCoroutinesAndroid)
implementation(libs.robolectric)
implementation(libs.testCore)
testImplementation(libs.testExtJunit)
testImplementation(libs.testExtTruth)
testImplementation(libs.testCore)
testImplementation(libs.testRunner)
testImplementation(libs.testRules)
testImplementation(libs.robolectric)
testImplementation(libs.truth)
}
android {
defaultConfig {
minSdkVersion 26
}
// Use Robolectric 4.+
testOptions.unitTests.includeAndroidResources = true
namespace "androidx.wear.tiles.testing"
}
androidx {
name = "Android Wear Tiles Testing Utilities"
type = LibraryType.PUBLISHED_TEST_LIBRARY
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2021"
description = "Testing utilities for Android Wear Tiles."
}