blob: b73fbffc88506434f0d9d6c82bc147c8ea467308 [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'com.android.application'
dependencies {
implementation project(':slices-view')
implementation project(':slices-builders')
implementation project(':lifecycle:extensions')
implementation libs.support.design, libs.support_exclude_config
implementation libs.support.app_compat, libs.support_exclude_config
implementation libs.support.cardview, libs.support_exclude_config
implementation project(':lifecycle:extensions')
}
android {
compileSdkVersion project.ext.currentSdk
defaultConfig {
applicationId "com.example.androidx.slice.demos"
minSdkVersion 27
targetSdkVersion project.ext.currentSdk
}
signingConfigs {
debug {
// Use a local debug keystore to avoid build server issues.
storeFile project.rootProject.init.debugKeystore
}
}
lintOptions {
abortOnError true
disable "SetTextI18n", "AppCompatResource", "WrongConstant", "AllowBackup",
"GoogleAppIndexingWarning", "AlwaysShowAction"
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}