/* 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/. */ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { alias(libs.plugins.python.envs.plugin) id 'org.mozilla.nimbus-gradle-plugin' } apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { namespace = 'mozilla.components.feature.fxsuggest' } dependencies { api ComponentsDependencies.mozilla_remote_settings implementation project(':components:browser-state') implementation project(':components:concept-awesomebar') implementation project(':components:concept-engine') implementation project(':components:feature-session') implementation project(':components:service-nimbus') implementation project(':components:support-base') implementation project(':components:support-remotesettings') implementation project(':components:support-ktx') implementation ComponentsDependencies.mozilla_appservices_suggest implementation libs.androidx.work.runtime implementation libs.kotlinx.coroutines testImplementation project(':components:support-test') testImplementation ComponentsDependencies.mozilla_appservices_full_megazord_libsForTests testImplementation libs.androidx.concurrent testImplementation libs.androidx.test.core testImplementation libs.androidx.test.junit testImplementation libs.androidx.work.testing testImplementation libs.kotlinx.coroutines.test testImplementation libs.robolectric } apply from: '../../../common-config.gradle' apply from: '../../../publish.gradle' nimbus { // The path to the Nimbus feature manifest file manifestFile = "fxsuggest.fml.yaml" channels = [ debug: "debug", release: "release", ] applicationServicesDir = gradle.hasProperty('localProperties.autoPublish.application-services.dir') ? gradle.getProperty('localProperties.autoPublish.application-services.dir') : null } ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)