apply plugin: 'com.android.application' apply from: 'variables.gradle' apply plugin: 'maven' apply plugin: 'io.fabric' ext { geckoviewChannel = project.ext.firefox_channel geckoviewVersion = project.ext.firefox_version } repositories { maven { url "https://maven.mozilla.org/maven2/" maven { url 'https://maven.fabric.io/public' } mavenLocal() mavenCentral() google() jcenter() } } android { compileSdkVersion project.ext.compileSdkVersion defaultConfig { applicationId project.ext.applicationId minSdkVersion project.ext.minSdkVersion targetSdkVersion project.ext.targetSdkVersion versionCode project.ext.versionCode versionName project.ext.versionName } flavorDimensions "abi" compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } flavorDimensions project.ext.dimen productFlavors { arm { versionCode project.ext.arm_vcode versionName project.ext.arm_vname dimension project.ext.dimen } aarch64 { versionCode project.ext.aarch_vcode versionName project.ext.aarch_vname dimension project.ext.dimen } x86 { versionCode project.ext.x86_vcode versionName project.ext.x86_vname dimension project.ext.dimen } x86_64 { versionCode project.ext.x64_vcode versionName project.ext.x64_vname dimension project.ext.dimen } } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } splits { abi { enable true reset() include 'arm64-v8a' include 'x86' include 'armeabi-v7a' include 'x86_64' universalApk false } } } } dependencies { /*Default Libraries*/ implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta2' implementation 'cz.msebera.android:httpclient:4.5.8' implementation 'androidx.appcompat:appcompat:1.1.0-rc01' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2' implementation 'com.google.android.material:material:1.1.0-alpha09' implementation 'androidx.preference:preference:1.1.0-rc01' implementation 'com.android.support:design:28.0.0' implementation 'com.android.support:appcompat-v7:28.0.0' /*Firefox ABI Splits*/ x86Implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}" x86_64Implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}" armImplementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}" aarch64Implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}" /*Alert Dialog*/ implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0' implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') { transitive = true; } /*Onion Proxy*/ implementation 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7' implementation 'org.slf4j:slf4j-api:2.0.0-alpha0' implementation 'org.slf4j:slf4j-android:1.7.26' /*Ads Manager*/ implementation 'com.google.android.gms:play-services-ads:18.1.1' /*Crashlytics*/ implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1' implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') } apply plugin: 'com.android.application'