mirror of https://github.com/LeOS-GSI/LeOS-Genesis
140 lines
4.2 KiB
Groovy
140 lines
4.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'maven'
|
|
apply plugin: 'io.fabric'
|
|
|
|
ext {
|
|
geckoviewChannel = ""
|
|
geckoviewVersion = "67.0.20190613202504"
|
|
}
|
|
|
|
|
|
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 180
|
|
versionName "180"
|
|
dimension "abi"
|
|
buildConfigField "String", "VARIANT", "\"arm\""
|
|
}*/
|
|
aarch64 {
|
|
versionCode 181
|
|
versionName "181"
|
|
dimension "abi"
|
|
buildConfigField "String", "VARIANT", "\"aarch64\""
|
|
}/*
|
|
x86 {
|
|
versionCode 182
|
|
versionName "182"
|
|
dimension "abi"
|
|
buildConfigField "String", "VARIANT", "\"i686\""
|
|
}
|
|
/*x86_64 {
|
|
versionCode 183
|
|
versionName "183"
|
|
dimension "abi"
|
|
buildConfigField "String", "VARIANT", "\"x86_64\""
|
|
}*/
|
|
}
|
|
|
|
|
|
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'
|
|
|
|
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:2.0.0-beta2'
|
|
implementation 'cz.msebera.android:httpclient:4.5.8'
|
|
|
|
//x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190613202504"
|
|
//x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:67.0.20190613202504"
|
|
//armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:67.0.20190613202504"
|
|
aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:67.0.20190613202504"
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.preference:preference:1.1.0-alpha02'
|
|
|
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
|
|
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
|
|
|
|
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'
|
|
implementation 'com.google.android.gms:play-services-ads:18.0.0'
|
|
implementation 'com.android.support:design:28.0.0'
|
|
androidTestImplementation 'androidx.test:runner:1.2.0-alpha03'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0-alpha03'
|
|
|
|
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
|
|
transitive = true
|
|
}
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
}
|
|
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.google.gms.google-services'
|