blob: 5bb4e95c5f648bf279d1b9daf5c6cdd6cf771ca2 [file] [log] [blame]
/*
* Copyright (C) 2018 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.
*/
import static androidx.build.dependencies.DependenciesKt.*
import androidx.build.LibraryVersions
import androidx.build.LibraryGroups
plugins {
id("SupportAndroidLibraryPlugin")
id("org.jetbrains.kotlin.android")
}
android {
defaultConfig {
minSdkVersion 19
}
buildTypes {
debug {
testCoverageEnabled = false // Breaks Kotlin compiler.
}
}
}
dependencies {
implementation(project(":slice-core"))
api(project(":slice-builders"))
api(KOTLIN_STDLIB)
androidTestImplementation(JUNIT)
androidTestImplementation(TEST_EXT_JUNIT)
androidTestImplementation(TEST_CORE)
androidTestImplementation(TEST_RUNNER)
androidTestImplementation(TEST_RULES)
implementation project(":annotation")
implementation project(path: ':core')
}
supportLibrary {
name = "Slice builders KTX"
publish = true
mavenVersion = LibraryVersions.SLICE_BUILDERS_KTX
mavenGroup = LibraryGroups.SLICE
inceptionYear = "2018"
description = "A set of Kotlin extension methods built on top of slice-builders APIs."
failOnUncheckedWarnings = false
failOnDeprecationWarnings = false
useMetalava = true
}