2019-03-05 07:33:58 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
apply plugin: 'maven'
|
2019-05-10 20:44:08 +02:00
|
|
|
apply plugin: 'io.fabric'
|
2019-03-05 07:33:58 +01:00
|
|
|
|
2019-03-24 14:37:13 +01:00
|
|
|
ext {
|
2019-05-30 21:19:30 +02:00
|
|
|
geckoviewChannel = ""
|
2019-05-10 20:44:08 +02:00
|
|
|
geckoviewVersion = "64.0.20180927100037"
|
2019-03-24 14:37:13 +01:00
|
|
|
}
|
2019-05-10 20:44:08 +02:00
|
|
|
|
2019-06-15 19:13:52 +02:00
|
|
|
|
2019-05-10 20:44:08 +02:00
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "https://maven.mozilla.org/maven2/"
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
jcenter()
|
|
|
|
maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-05 07:33:58 +01:00
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
defaultConfig {
|
2019-04-28 18:54:22 +02:00
|
|
|
applicationId "com.darkweb.genesissearchengine"
|
2019-03-05 07:33:58 +01:00
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 28
|
2019-05-10 20:44:08 +02:00
|
|
|
versionCode 126
|
|
|
|
versionName "126.0"
|
2019-03-05 07:33:58 +01:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2019-05-10 20:44:08 +02:00
|
|
|
|
2019-03-05 07:33:58 +01:00
|
|
|
}
|
2019-03-24 14:37:13 +01:00
|
|
|
|
|
|
|
flavorDimensions "abi"
|
|
|
|
// Note: compileOptions is only required for minSdkVersion < 24
|
2019-05-10 20:44:08 +02:00
|
|
|
// Note: compileOptions is only required for minSdkVersion < 26 (not 24)
|
2019-03-24 14:37:13 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2019-05-10 20:44:08 +02:00
|
|
|
|
|
|
|
flavorDimensions "abi"
|
|
|
|
|
2019-03-24 14:37:13 +01:00
|
|
|
productFlavors {
|
2019-05-30 21:19:30 +02:00
|
|
|
/*arm {
|
2019-06-11 08:41:03 +02:00
|
|
|
versionCode 156
|
|
|
|
versionName "156"
|
2019-05-10 20:44:08 +02:00
|
|
|
dimension "abi"
|
2019-05-30 21:19:30 +02:00
|
|
|
buildConfigField "String", "VARIANT", "\"arm\""
|
2019-06-15 19:13:52 +02:00
|
|
|
}*/
|
2019-05-10 20:44:08 +02:00
|
|
|
aarch64 {
|
2019-06-11 08:41:03 +02:00
|
|
|
versionCode 157
|
|
|
|
versionName "157"
|
2019-05-26 13:43:13 +02:00
|
|
|
dimension "abi"
|
2019-05-30 21:19:30 +02:00
|
|
|
buildConfigField "String", "VARIANT", "\"aarch64\""
|
2019-06-15 19:13:52 +02:00
|
|
|
}
|
|
|
|
/*
|
2019-05-10 20:44:08 +02:00
|
|
|
x86 {
|
2019-06-11 08:41:03 +02:00
|
|
|
versionCode 158
|
|
|
|
versionName "158"
|
2019-05-10 20:44:08 +02:00
|
|
|
dimension "abi"
|
2019-05-30 21:19:30 +02:00
|
|
|
buildConfigField "String", "VARIANT", "\"i686\""
|
2019-06-15 19:13:52 +02:00
|
|
|
}
|
|
|
|
|
2019-06-11 08:41:03 +02:00
|
|
|
x86_64 {
|
|
|
|
versionCode 159
|
|
|
|
versionName "159"
|
2019-05-30 21:19:30 +02:00
|
|
|
dimension "abi"
|
|
|
|
buildConfigField "String", "VARIANT", "\"x86_64\""
|
|
|
|
}*/
|
2019-03-24 14:37:13 +01:00
|
|
|
}
|
|
|
|
|
2019-05-10 20:44:08 +02:00
|
|
|
|
2019-03-05 07:33:58 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
2019-05-10 20:44:08 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
splits {
|
|
|
|
abi {
|
|
|
|
enable true
|
|
|
|
reset()
|
|
|
|
include 'arm64-v8a'
|
2019-05-26 13:43:13 +02:00
|
|
|
include 'x86'
|
|
|
|
include 'armeabi-v7a'
|
|
|
|
include 'x86_64'
|
2019-05-10 20:44:08 +02:00
|
|
|
|
|
|
|
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'
|
|
|
|
}
|
2019-03-05 07:33:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
|
|
implementation "cz.msebera.android:httpclient:4.4.1.2"
|
2019-05-10 20:44:08 +02:00
|
|
|
|
2019-06-15 19:13:52 +02:00
|
|
|
//x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190521210220"
|
2019-05-30 21:19:30 +02:00
|
|
|
//x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:67.0.20190521210220"
|
|
|
|
//armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:67.0.20190521210220"
|
2019-06-15 19:13:52 +02:00
|
|
|
aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:67.0.20190521210220"
|
2019-05-10 20:44:08 +02:00
|
|
|
|
2019-06-15 19:13:52 +02:00
|
|
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
|
2019-05-10 20:44:08 +02:00
|
|
|
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'
|
2019-06-15 19:13:52 +02:00
|
|
|
implementation 'com.google.android.gms:play-services-ads:17.2.1'
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.1.1'
|
|
|
|
implementation 'com.android.support:design:28.1.1'
|
|
|
|
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
|
|
|
|
transitive = true;
|
|
|
|
}
|
2019-03-05 07:33:58 +01:00
|
|
|
}
|
|
|
|
|
2019-03-27 19:07:03 +01:00
|
|
|
apply plugin: 'com.android.application'
|