| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 1 | /* |
| 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 Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 17 | import static androidx.build.dependencies.DependenciesKt.* |
| 18 | import androidx.build.AndroidXExtension |
| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 19 | import androidx.build.LibraryGroups |
| 20 | import androidx.build.LibraryVersions |
| Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 21 | import androidx.build.Publish |
| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 22 | |
| 23 | plugins { |
| Aurimas Liutikas | 2cc275f | 2019-04-04 19:33:53 +0100 | [diff] [blame] | 24 | id("AndroidXPlugin") |
| Aurimas Liutikas | 05f38f2 | 2019-10-17 14:44:25 -0700 | [diff] [blame] | 25 | id("java-library") |
| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | dependencies { |
| Aurimas Liutikas | 8a1c039 | 2019-12-02 11:31:04 -0800 | [diff] [blame] | 29 | api("androidx.annotation:annotation:1.1.0") |
| 30 | api(GUAVA_LISTENABLE_FUTURE) |
| 31 | testImplementation(JUNIT) |
| 32 | testImplementation(TRUTH) |
| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 33 | } |
| 34 | |
| Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 35 | androidx { |
| Sergey Vasilinets | 8e926f1 | 2018-09-12 14:25:45 -0700 | [diff] [blame] | 36 | name = "AndroidX Futures" |
| Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 37 | publish = Publish.SNAPSHOT_AND_RELEASE |
| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 38 | mavenGroup = LibraryGroups.CONCURRENT |
| 39 | inceptionYear = "2018" |
| 40 | description = "Androidx implementation of Guava's ListenableFuture" |
| Sergey Vasilinets | 4a92ec6 | 2018-08-28 01:28:10 -0700 | [diff] [blame] | 41 | } |