LeOS-Genesis/app/build.gradle

159 lines
4.8 KiB
Groovy
Executable File

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
}
buildToolsVersion '29.0.2'
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 "abi"
ndk {
abiFilters "armeabi-v7a"
}
}
aarch64 {
versionCode project.ext.aarch_vcode
versionName project.ext.aarch_vname
dimension "abi"
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86"
}
}
x86 {
versionCode project.ext.x86_vcode
versionName project.ext.x86_vname
dimension "abi"
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86"
}
}
x86_64 {
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension "abi"
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
keyAlias 'demo'
keyPassword 'demodemo'
storeFile file("${rootProject.projectDir}/demo.keystore")
storePassword 'demodemo'
}
}
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
dependencies {
// Android Support Repository dependencies
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.preference:preference:1.0.0'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
// Testing-only dependencies
androidTestImplementation('androidx.test.espresso:espresso-core:3.3.0') {
exclude group: 'com.android.support', module: 'support-annotations'
}
/*Default Libraries*/
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'com.google.android.material:material:1.3.0-alpha02'
implementation 'androidx.preference:preference:1.1.1'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
/*Firefox ABI Splits*/
implementation "org.mozilla.components:browser-engine-gecko:$mozilla_components_version"
implementation "org.mozilla.geckoview:geckoview:$gecko_nightly_version"
/*Alert Dialog*/
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
/*Ads Manager*/
implementation 'com.google.android.gms:play-services-ads:19.4.0'
/*Crashlytics*/
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.flurry.android:analytics:12.4.0@aar'
/*View Animator*/
implementation 'com.daimajia.easing:library:2.1@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
/*Orbot Service*/
implementation project(path: ':orbotservice')
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.github.apl-devs:appintro:v4.2.2'
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'