LeOS-Genesis/app/build.gradle

159 lines
4.8 KiB
Groovy
Raw Normal View History

2020-01-24 16:23:31 +01:00
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 {
2020-02-28 19:10:00 +01:00
compileSdkVersion project.ext.compileSdkVersion
2020-01-24 16:23:31 +01:00
defaultConfig {
applicationId project.ext.applicationId
2020-02-28 19:10:00 +01:00
minSdkVersion project.ext.minSdkVersion
2020-09-19 14:10:12 +02:00
targetSdkVersion project.ext.targetSdkVersion
2020-01-24 16:23:31 +01:00
versionCode project.ext.versionCode
versionName project.ext.versionName
}
2020-09-11 14:08:31 +02:00
buildToolsVersion '29.0.2'
2020-02-28 19:10:00 +01:00
flavorDimensions "abi"
2020-01-24 16:23:31 +01:00
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
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-09-19 14:10:12 +02:00
abiFilters "armeabi-v7a"
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
aarch64 {
versionCode project.ext.aarch_vcode
versionName project.ext.aarch_vname
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-09-11 12:54:25 +02:00
abiFilters "armeabi", "armeabi-v7a", "x86"
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
x86 {
versionCode project.ext.x86_vcode
versionName project.ext.x86_vname
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-09-11 12:54:25 +02:00
abiFilters "armeabi", "armeabi-v7a", "x86"
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
x86_64 {
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-09-11 12:54:25 +02:00
abiFilters "armeabi", "armeabi-v7a", "x86"
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
2020-02-28 19:10:00 +01:00
signingConfigs {
release {
keyAlias 'demo'
keyPassword 'demodemo'
storeFile file("${rootProject.projectDir}/demo.keystore")
storePassword 'demodemo'
2020-01-24 16:23:31 +01:00
}
}
2020-02-28 19:10:00 +01:00
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2020-01-24 16:23:31 +01:00
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
2020-02-28 19:10:00 +01:00
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
2020-01-24 16:23:31 +01:00
}
}
dependencies {
2020-02-28 19:10:00 +01:00
// Android Support Repository dependencies
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2020-09-11 12:54:25 +02:00
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.preference:preference:1.1.1'
2020-09-19 14:10:12 +02:00
implementation 'androidx.preference:preference:1.0.0'
2020-02-28 19:10:00 +01:00
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
// Testing-only dependencies
2020-09-11 12:54:25 +02:00
androidTestImplementation('androidx.test.espresso:espresso-core:3.3.0') {
2020-02-28 19:10:00 +01:00
exclude group: 'com.android.support', module: 'support-annotations'
}
2020-01-24 16:23:31 +01:00
/*Default Libraries*/
2020-09-19 14:10:12 +02:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
2020-09-11 12:54:25 +02:00
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'
2020-09-19 14:10:12 +02:00
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.appcompat:appcompat:1.2.0'
2020-01-24 16:23:31 +01:00
/*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*/
2020-09-11 12:54:25 +02:00
implementation 'com.google.android.gms:play-services-ads:19.4.0'
2020-01-24 16:23:31 +01:00
/*Crashlytics*/
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
2020-09-11 12:54:25 +02:00
implementation 'com.flurry.android:analytics:12.4.0@aar'
2020-01-24 16:23:31 +01:00
/*View Animator*/
implementation 'com.daimajia.easing:library:2.1@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
/*Orbot Service*/
implementation project(path: ':orbotservice')
2020-09-19 14:10:12 +02:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2020-02-28 19:10:00 +01:00
implementation 'com.github.apl-devs:appintro:v4.2.2'
2020-01-24 16:23:31 +01:00
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'