LeOS-Genesis/app/build.gradle

122 lines
3.4 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'maven'
apply plugin: 'io.fabric'
ext {
geckoviewChannel = "nightly"
geckoviewVersion = "64.0.20180927100037"
}
repositories {
maven {
url "https://maven.mozilla.org/maven2/"
mavenLocal()
mavenCentral()
google()
jcenter()
maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
}
}
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.darkweb.genesissearchengine"
minSdkVersion 21
targetSdkVersion 28
versionCode 126
versionName "126.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
flavorDimensions "abi"
// Note: compileOptions is only required for minSdkVersion < 24
// Note: compileOptions is only required for minSdkVersion < 26 (not 24)
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
flavorDimensions "abi"
productFlavors {
arm {
versionCode 131
versionName "131"
dimension "abi"
}
aarch64 {
versionCode 132
versionName "132"
dimension "abi"
}
x86_64 {
versionCode 135
versionName "135"
dimension "abi"
}
x86 {
versionCode 134
versionName "134"
dimension "abi"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
splits {
abi {
enable true
reset()
include 'arm64-v8a'
//include 'x86'
//include 'armeabi-v7a'
//include 'x86_64'
//include 'armeabi'
universalApk true
}
}
}
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '26.1.0'
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.google.android.gms:play-services-ads:17.1.1'
implementation "cz.msebera.android:httpclient:4.4.1.2"
//x86Implementation "org.mozilla.geckoview:geckoview-nightly-x86:68.0.20190405111221"
//x86_64Implementation "org.mozilla.geckoview:geckoview-nightly-x86_64:68.0.20190405111221"
//armImplementation "org.mozilla.geckoview:geckoview-nightly-armeabi-v7a:68.0.20190405111221"
aarch64Implementation "org.mozilla.geckoview:geckoview-nightly-arm64-v8a:68.0.20190405111221"
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9'
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
implementation 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7'
implementation 'org.slf4j:slf4j-api:1.7.7'
implementation 'org.slf4j:slf4j-android:1.7.7'
implementation 'com.android.support:design:28.0.0'
}
apply plugin: 'com.android.application'