/* 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/. */ buildscript { repositories { gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository -> maven { url = repository if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) { allowInsecureProtocol = true } } } } dependencies { classpath libs.plugin.serialization } } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlinx-serialization' android { compileSdkVersion = config.compileSdkVersion defaultConfig { minSdkVersion = config.minSdkVersion compileSdk = config.compileSdkVersion targetSdkVersion = config.targetSdkVersion } buildTypes { release { minifyEnabled = false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } namespace = 'mozilla.components.support.remotesettings' } dependencies { implementation project(':support-base') implementation project(':support-ktx') implementation project(':support-utils') implementation ComponentsDependencies.mozilla_remote_settings implementation libs.kotlin.json implementation libs.androidx.work.runtime testImplementation project(':support-test') testImplementation libs.testing.mockito testImplementation libs.androidx.test.core testImplementation libs.androidx.test.junit testImplementation libs.testing.coroutines testImplementation libs.testing.robolectric testImplementation libs.androidx.work.testing testImplementation ComponentsDependencies.mozilla_remote_settings } apply from: '../../../android-lint.gradle' apply from: '../../../publish.gradle' ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)