blob: b1a0910c10799eb575b3522a6087a632141e8099 [file] [log] [blame]
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -07001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070017import static androidx.build.dependencies.DependenciesKt.*
18import androidx.build.AndroidXExtension
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -070019import androidx.build.LibraryGroups
20import androidx.build.LibraryVersions
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070021import androidx.build.Publish
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -070022
23plugins {
Aurimas Liutikas2cc275f2019-04-04 19:33:53 +010024 id("AndroidXPlugin")
Aurimas Liutikas05f38f22019-10-17 14:44:25 -070025 id("java-library")
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -070026}
27
28dependencies {
Aurimas Liutikas8a1c0392019-12-02 11:31:04 -080029 api("androidx.annotation:annotation:1.1.0")
30 api(GUAVA_LISTENABLE_FUTURE)
31 testImplementation(JUNIT)
32 testImplementation(TRUTH)
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -070033}
34
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070035androidx {
Sergey Vasilinets8e926f12018-09-12 14:25:45 -070036 name = "AndroidX Futures"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070037 publish = Publish.SNAPSHOT_AND_RELEASE
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -070038 mavenGroup = LibraryGroups.CONCURRENT
39 inceptionYear = "2018"
40 description = "Androidx implementation of Guava's ListenableFuture"
Sergey Vasilinets4a92ec62018-08-28 01:28:10 -070041}