Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -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 androidx.build.Publish |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 18 | |
| 19 | plugins { |
Aurimas Liutikas | cdb9f9f | 2019-04-08 12:07:49 +0100 | [diff] [blame] | 20 | id("AndroidXPlugin") |
| 21 | id("com.android.library") |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | dependencies { |
Aaron Labiaga | c0f7758 | 2021-09-13 15:01:02 +0000 | [diff] [blame] | 25 | api("androidx.core:core:1.6.0") |
Aaron Labiaga | c76891d | 2020-11-11 18:05:18 +0000 | [diff] [blame] | 26 | api("androidx.collection:collection:1.1.0") |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 27 | api(libs.guavaListenableFuture) |
Ian Lake | 0e005915 | 2019-09-27 14:43:23 -0700 | [diff] [blame] | 28 | implementation("androidx.concurrent:concurrent-futures:1.0.0") |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 29 | |
Aurimas Liutikas | 0044296 | 2021-06-01 17:18:09 -0700 | [diff] [blame] | 30 | androidTestImplementation(libs.testExtJunit) |
| 31 | androidTestImplementation(libs.testCore) |
| 32 | androidTestImplementation(libs.testRunner) |
| 33 | androidTestImplementation(libs.testRules) |
| 34 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
| 35 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) // DexMaker has it"s own MockMaker |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 36 | } |
| 37 | |
Aurimas Liutikas | 2ad3161 | 2019-04-01 04:23:03 -0700 | [diff] [blame] | 38 | androidx { |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 39 | name = "AndroidX Share Target Support Library" |
Aurimas Liutikas | 75e93a0 | 2019-05-28 16:31:38 -0700 | [diff] [blame] | 40 | publish = Publish.SNAPSHOT_AND_RELEASE |
Mehdi Alizadeh | 71334ea | 2018-09-13 14:47:38 -0700 | [diff] [blame] | 41 | mavenGroup = LibraryGroups.SHARETARGET |
| 42 | inceptionYear = "2018" |
| 43 | description = "ShareTarget" |
| 44 | } |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 45 | |
| 46 | android { |
David Dong | 7862a2d | 2022-05-02 13:18:17 -0700 | [diff] [blame] | 47 | buildTypes.all { |
| 48 | consumerProguardFiles "proguard-rules.pro" |
| 49 | } |
| 50 | |
Aurimas Liutikas | dcfa035 | 2022-03-14 16:05:33 -0700 | [diff] [blame] | 51 | namespace "androidx.sharetarget" |
| 52 | } |