blob: f302b3d4683ffc0af9b3b32c3dca2452f293f27d [file] [log] [blame]
Mehdi Alizadeh71334ea2018-09-13 14:47:38 -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 androidx.build.Publish
Mehdi Alizadeh71334ea2018-09-13 14:47:38 -070018
19plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010020 id("AndroidXPlugin")
21 id("com.android.library")
Mehdi Alizadeh71334ea2018-09-13 14:47:38 -070022}
23
24dependencies {
Aaron Labiagac0f77582021-09-13 15:01:02 +000025 api("androidx.core:core:1.6.0")
Aaron Labiagac76891d2020-11-11 18:05:18 +000026 api("androidx.collection:collection:1.1.0")
Aurimas Liutikas00442962021-06-01 17:18:09 -070027 api(libs.guavaListenableFuture)
Ian Lake0e0059152019-09-27 14:43:23 -070028 implementation("androidx.concurrent:concurrent-futures:1.0.0")
Mehdi Alizadeh71334ea2018-09-13 14:47:38 -070029
Aurimas Liutikas00442962021-06-01 17:18:09 -070030 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 Alizadeh71334ea2018-09-13 14:47:38 -070036}
37
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070038androidx {
Mehdi Alizadeh71334ea2018-09-13 14:47:38 -070039 name = "AndroidX Share Target Support Library"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070040 publish = Publish.SNAPSHOT_AND_RELEASE
Mehdi Alizadeh71334ea2018-09-13 14:47:38 -070041 mavenGroup = LibraryGroups.SHARETARGET
42 inceptionYear = "2018"
43 description = "ShareTarget"
44}
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070045
46android {
David Dong7862a2d2022-05-02 13:18:17 -070047 buildTypes.all {
48 consumerProguardFiles "proguard-rules.pro"
49 }
50
Aurimas Liutikasdcfa0352022-03-14 16:05:33 -070051 namespace "androidx.sharetarget"
52}