Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt...
[gecko.git] / mobile / android / android-components / components / support / rusterrors / build.gradle
blob43abadcba9c1932f20076eb43e258115d8416fcf
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 apply plugin: 'com.android.library'
6 apply plugin: 'kotlin-android'
8 android {
9     compileSdkVersion config.compileSdkVersion
11     defaultConfig {
12         minSdkVersion config.minSdkVersion
13         targetSdkVersion config.targetSdkVersion
14     }
16     lint {
17         warningsAsErrors true
18         abortOnError true
19     }
21     buildTypes {
22         release {
23             minifyEnabled false
24             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25             consumerProguardFiles 'proguard-rules-consumer.pro'
26         }
27     }
29     namespace 'mozilla.components.support.rusterrors'
32 dependencies {
33     implementation ComponentsDependencies.mozilla_errorsupport
35     implementation ComponentsDependencies.kotlin_coroutines
36     implementation project(':support-base')
39 apply from: '../../../publish.gradle'
40 ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)