/* 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 } lintOptions { warningsAsErrors true abortOnError true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation project(':concept-engine') implementation project(':support-ktx') implementation project(':support-utils') // We only compile against the ARM artifact. External module will decide which module to provide by build configuration. // As the Kotlin/Java API is the same for all ABIs it is not important which one we import here. compileOnly Dependencies.mozilla_servo_arm testImplementation Dependencies.mozilla_servo_arm implementation Dependencies.kotlin_stdlib implementation Dependencies.kotlin_coroutines testImplementation project(':support-test') testImplementation Dependencies.testing_junit testImplementation Dependencies.testing_robolectric testImplementation Dependencies.testing_mockito } apply from: '../../../publish.gradle' ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)