Alan Viverette | a75e3d6 | 2021-06-23 17:38:25 -0400 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2019 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 | |
| 17 | import androidx.build.LibraryGroups |
| 18 | import androidx.build.LibraryVersions |
| 19 | import androidx.build.Publish |
| 20 | |
| 21 | plugins { |
| 22 | id("AndroidXPlugin") |
| 23 | id("com.android.library") |
| 24 | } |
| 25 | |
| 26 | dependencies { |
| 27 | implementation("androidx.appcompat:appcompat:1.1.0") |
| 28 | |
| 29 | implementation(project(":slice:slice-core")) |
| 30 | implementation(project(":remotecallback:remotecallback")) |
| 31 | |
| 32 | androidTestImplementation(libs.testExtJunit) |
| 33 | androidTestImplementation(libs.testCore) |
| 34 | androidTestImplementation(libs.testRunner) |
| 35 | androidTestImplementation(libs.mockitoCore, excludes.bytebuddy) |
| 36 | androidTestImplementation(libs.dexmakerMockito, excludes.bytebuddy) |
| 37 | androidTestAnnotationProcessor project(":remotecallback:remotecallback-processor") |
| 38 | } |
| 39 | |
| 40 | androidx { |
| 41 | name = "Slice Remote Callback" |
| 42 | publish = Publish.SNAPSHOT_AND_RELEASE |
| 43 | mavenVersion = LibraryVersions.SLICE_REMOTECALLBACK |
| 44 | mavenGroup = LibraryGroups.SLICE |
| 45 | inceptionYear = "2019" |
| 46 | description = "A library that handles PendingIntents in slices as remote callbacks" |
| 47 | failOnDeprecationWarnings = false |
| 48 | } |