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/. */
6 gradle.mozconfig.substs.GRADLE_MAVEN_REPOSITORIES.each { repository ->
9 if (gradle.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES) {
10 allowInsecureProtocol = true
16 classpath ComponentsDependencies.plugin_serialization
21 apply plugin: 'com.android.library'
22 apply plugin: 'kotlin-android'
23 apply plugin: 'kotlinx-serialization'
26 compileSdkVersion config.compileSdkVersion
29 minSdkVersion config.minSdkVersion
30 compileSdk config.compileSdkVersion
31 targetSdkVersion config.targetSdkVersion
37 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
41 namespace 'mozilla.components.support.remotesettings'
45 implementation project(':support-ktx')
46 implementation project(':support-base')
47 implementation ComponentsDependencies.mozilla_remote_settings
48 implementation ComponentsDependencies.kotlin_json
50 testImplementation ComponentsDependencies.testing_mockito
51 testImplementation ComponentsDependencies.androidx_test_junit
52 testImplementation ComponentsDependencies.testing_coroutines
53 testImplementation ComponentsDependencies.testing_robolectric
54 testImplementation ComponentsDependencies.mozilla_remote_settings
57 apply from: '../../../android-lint.gradle'
58 apply from: '../../../publish.gradle'
59 ext.configurePublish(config.componentsGroupId, archivesBaseName, project.ext.description)