blob: ae262cdaa7e05dad0cee0c7e26a2a9e11fd41d18 [file] [log] [blame]
Jason Monk41c9f812018-08-03 19:33:21 -04001/*
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
17import static androidx.build.dependencies.DependenciesKt.*
18
19import androidx.build.LibraryGroups
20import androidx.build.LibraryVersions
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070021import androidx.build.Publish
Jason Monk41c9f812018-08-03 19:33:21 -040022
23plugins {
Aurimas Liutikascdb9f9f2019-04-08 12:07:49 +010024 id("AndroidXPlugin")
25 id("com.android.library")
Jason Monk41c9f812018-08-03 19:33:21 -040026}
27
28dependencies {
Nick Anthonyac4cf062019-06-04 10:59:29 -040029 implementation "androidx.annotation:annotation:1.1.0"
Jake Wharton5c7db042019-06-05 22:41:22 -040030 implementation project(':collection:collection')
Jason Monk41c9f812018-08-03 19:33:21 -040031
Dustin Lam3979d962019-04-08 10:40:19 -070032 androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
33 androidTestImplementation(ANDROIDX_TEST_CORE)
34 androidTestImplementation(ANDROIDX_TEST_RUNNER)
Jason Monk41c9f812018-08-03 19:33:21 -040035 androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
36 androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
37 androidTestAnnotationProcessor project(":remotecallback-processor")
38}
39
40android {
41 buildTypes.all {
42 consumerProguardFiles("proguard-rules.pro")
43 }
44}
45
Aurimas Liutikas2ad31612019-04-01 04:23:03 -070046androidx {
Jason Monk41c9f812018-08-03 19:33:21 -040047 name = "Remote Callback"
Aurimas Liutikas75e93a02019-05-28 16:31:38 -070048 publish = Publish.SNAPSHOT_AND_RELEASE
Jason Monk41c9f812018-08-03 19:33:21 -040049 mavenVersion = LibraryVersions.REMOTECALLBACK
50 mavenGroup = LibraryGroups.REMOTECALLBACK
51 inceptionYear = "2018"
52 description = "Wraps PendingIntents in a friendly and easier way to handle remote callbacks"
Jason Monk41c9f812018-08-03 19:33:21 -040053 failOnDeprecationWarnings = false
54}