Source code

Revision control

Copy as Markdown

Other Tools

plugins {
alias(libs.plugins.kotlin.android)
}
apply plugin: 'com.android.application'
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_example"
versionCode project.ext.versionCode
versionName project.ext.versionName
}
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'
}
buildFeatures {
buildConfig = true
}
namespace = 'org.mozilla.geckoview_example'
}
dependencies {
implementation libs.androidx.annotation
implementation libs.androidx.appcompat
implementation libs.androidx.core
implementation libs.androidx.preferences
implementation project(path: ':geckoview')
implementation libs.androidx.constraintlayout
implementation libs.google.material
}
OSZAR »