blob: 9cb7ba274ed5969d0b066da31695398de2ce006c [file] [log] [blame]
Jason Monk8a452e92017-10-31 19:21:47 -04001/*
2 * Copyright (C) 2017 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 Liutikascdcbdb02017-11-28 15:28:01 -080017import static android.support.dependencies.DependenciesKt.*
Jason Monkdb7ed472017-11-14 19:31:23 -050018import android.support.LibraryGroups
Jason Monk6fa0c9b2017-12-12 20:55:35 -050019import android.support.LibraryVersions
Jason Monkdb7ed472017-11-14 19:31:23 -050020
Jason Monk8a452e92017-10-31 19:21:47 -040021plugins {
22 id("SupportAndroidLibraryPlugin")
23}
24
25dependencies {
Jason Monkb2c45792017-12-14 17:30:21 -050026 implementation project(":support-annotations")
27 implementation project(":appcompat-v7")
Jason Monk6fa0c9b2017-12-12 20:55:35 -050028
29 androidTestImplementation(TEST_RUNNER)
Jason Monk8a452e92017-10-31 19:21:47 -040030}
31
32android {
Jason Monkdcb5e2f2017-11-15 20:19:43 -050033 sourceSets {
34 main.res.srcDirs = [
35 'res',
36 'res-public'
37 ]
38 }
Jason Monk8a452e92017-10-31 19:21:47 -040039}
40
41supportLibrary {
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080042 name = "Common utilities for slices"
43 publish = true
Jason Monkdb7ed472017-11-14 19:31:23 -050044 mavenVersion = LibraryVersions.SUPPORT_LIBRARY
45 mavenGroup = LibraryGroups.SLICES
Aurimas Liutikascdcbdb02017-11-28 15:28:01 -080046 inceptionYear = "2017"
47 description = "The slices core library provides utilities for the slices view and provider libraries"
Jason Monk0da0ca32017-12-19 13:17:16 -050048 minSdkVersion = 24
Jason Monk8a452e92017-10-31 19:21:47 -040049}