The sample apps' layouts used unstyled buttons. Apply the shared Mozac.Widgets.NeutralButton style (adding the ui-widgets dependency where needed) and drop the ButtonStyleXmlDetector baseline entries. Differential Revision: https://phabricator.services.mozilla.com/D310438
64 lines
1.9 KiB
Groovy
64 lines
1.9 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/. */
|
|
|
|
plugins {
|
|
id 'com.android.application'
|
|
alias(libs.plugins.dependency.analysis)
|
|
}
|
|
|
|
|
|
android {
|
|
compileSdk { version = release(config.compileSdkMajorVersion) { minorApiLevel = config.compileSdkMinorVersion } }
|
|
|
|
defaultConfig {
|
|
applicationId "org.mozilla.samples.sync"
|
|
minSdk config.minSdkVersion
|
|
targetSdk config.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled = false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
splits {
|
|
abi {
|
|
enable = true
|
|
reset()
|
|
include "armeabi-v7a", "arm64-v8a", "x86_64"
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
buildConfig = true
|
|
}
|
|
|
|
namespace = 'org.mozilla.samples.sync'
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':components:browser-storage-sync')
|
|
implementation project(':components:concept-storage')
|
|
implementation project(':components:concept-toolbar')
|
|
implementation project(':components:lib-dataprotect')
|
|
implementation project(':components:lib-fetch-httpurlconnection')
|
|
implementation project(':components:service-firefox-accounts')
|
|
implementation project(':components:service-sync-autofill')
|
|
implementation project(':components:service-sync-logins')
|
|
implementation project(':components:support-appservices')
|
|
implementation project(':components:support-ktx')
|
|
implementation project(':components:ui-widgets')
|
|
|
|
implementation libs.androidx.fragment
|
|
implementation libs.androidx.recyclerview
|
|
implementation libs.kotlin.reflect
|
|
}
|