fune/mobile/android/android-components/components/browser/errorpages/build.gradle
Sawyer Blatz f0f6d47247 [components] For https://github.com/mozilla-mobile/android-components/issues/2689: Refactors Error Pages to allow images
Co-authored-by: James Willcox <snorp@snorp.net>
Co-authored-by: Agi Sferro <agi@sferro.dev>
2020-01-21 11:18:14 -08:00

50 lines
1.6 KiB
Groovy

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion config.compileSdkVersion
defaultConfig {
minSdkVersion config.minSdkVersion
targetSdkVersion config.targetSdkVersion
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
// Lint reports (falsely) a bunch of unused resources for this project. Those resources
// are references from Kotlin code and it looks like Android lint can't see those references
// yet. Let's disable this check and retry once a newer SDK is available.
disable 'UnusedResources'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation Dependencies.androidx_annotation
implementation project(':support-ktx')
implementation Dependencies.kotlin_stdlib
implementation project(':ui-icons')
testImplementation project(':support-test')
testImplementation Dependencies.androidx_test_junit
testImplementation Dependencies.testing_robolectric
testImplementation Dependencies.testing_mockito
}
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)