Source code

Revision control

Copy as Markdown

Other Tools

buildDir "${topobjdir}/gradle/build/mobile/android/test_runner"
apply plugin: 'com.android.application'
apply from: "${topsrcdir}/mobile/android/gradle/product_flavors.gradle"
android {
buildToolsVersion project.ext.buildToolsVersion
compileSdkVersion project.ext.compileSdkVersion
defaultConfig {
targetSdkVersion project.ext.targetSdkVersion
minSdkVersion project.ext.minSdkVersion
manifestPlaceholders = project.ext.manifestPlaceholders
applicationId "org.mozilla.geckoview.test_runner"
versionCode project.ext.versionCode
versionName project.ext.versionName
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// By default the android plugins ignores folders that start with `_`, but
// we need those in web extensions.
// See also:
aaptOptions {
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
noCompress 'ja'
}
project.configureProductFlavors.delegate = it
project.configureProductFlavors()
namespace 'org.mozilla.geckoview.test_runner'
}
dependencies {
implementation ComponentsDependencies.androidx_annotation
implementation ComponentsDependencies.androidx_appcompat
implementation ComponentsDependencies.androidx_preferences
implementation project(path: ':geckoview')
implementation ComponentsDependencies.androidx_constraintlayout
implementation ComponentsDependencies.google_material
}