LeOS-Genesis/app/build.gradle

167 lines
5.6 KiB
Groovy
Raw Normal View History

2020-01-24 16:23:31 +01:00
apply from: 'variables.gradle'
2021-04-18 10:37:16 +02:00
apply plugin: 'com.android.application'
2020-10-05 13:12:00 +02:00
apply plugin: 'maven-publish'
2020-10-20 16:55:08 +02:00
apply plugin: 'com.google.gms.google-services'
2021-01-18 11:07:12 +01:00
apply plugin: 'kotlin-android'
2020-01-24 16:23:31 +01:00
ext {
geckoviewChannel = project.ext.firefox_channel
geckoviewVersion = project.ext.firefox_version
}
repositories {
maven {
2021-04-18 10:37:16 +02:00
maven { url project.ext.url_snapshot }
url project.ext.url
2020-01-24 16:23:31 +01:00
mavenLocal()
mavenCentral()
google()
jcenter()
}
}
android {
2021-04-18 10:37:16 +02:00
compileSdkVersion project.ext.compile_sdk_version
ndkVersion project.ext.ndk_version
2020-02-28 19:10:00 +01:00
2020-01-24 16:23:31 +01:00
defaultConfig {
2021-04-18 10:37:16 +02:00
applicationId project.ext.application_id
minSdkVersion project.ext.min_sdk_version
targetSdkVersion project.ext.target_sdk_version
versionCode project.ext.version_code
versionName project.ext.version_name
2020-01-24 16:23:31 +01:00
}
2021-04-18 10:37:16 +02:00
buildToolsVersion project.ext.build_tool_version
2020-02-28 19:10:00 +01:00
2021-04-18 10:37:16 +02:00
flavorDimensions project.ext.dimen
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 {
2021-04-18 10:37:16 +02:00
versionCode project.ext.arm_vcode
versionName project.ext.arm_vname
dimension project.ext.dimen
2020-01-24 16:23:31 +01:00
}
aarch64 {
2021-04-18 10:37:16 +02:00
versionCode project.ext.aarch_vcode
versionName project.ext.aarch_vname
dimension project.ext.dimen
2020-01-24 16:23:31 +01:00
}
x86 {
2021-04-18 10:37:16 +02:00
versionCode project.ext.x86_vcode
versionName project.ext.x86_vname
dimension project.ext.dimen
2020-01-24 16:23:31 +01:00
}
x86_64 {
2021-04-18 10:37:16 +02:00
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension project.ext.dimen
2020-01-24 16:23:31 +01:00
}
2020-10-20 16:55:08 +02:00
}
2020-01-24 16:23:31 +01:00
2020-10-20 16:55:08 +02:00
sourceSets {
main {
2021-04-18 10:37:16 +02:00
res.srcDirs = project.ext.resource_directories
2020-01-24 16:23:31 +01:00
}
2020-02-28 19:10:00 +01:00
}
buildTypes {
release {
2021-04-28 10:48:03 +02:00
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 false
}
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
2021-04-28 10:48:03 +02:00
2020-02-28 19:10:00 +01:00
lintOptions {
2021-04-18 10:37:16 +02:00
checkReleaseBuilds project.ext.checkReleaseBuilds
abortOnError project.ext.abortOnError
2020-01-24 16:23:31 +01:00
}
}
dependencies {
2021-04-18 10:37:16 +02:00
/* Android Support Repository dependencies */
2020-02-28 19:10:00 +01:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2020-09-11 12:54:25 +02:00
implementation 'androidx.appcompat:appcompat:1.2.0'
2021-04-18 10:37:16 +02:00
implementation 'androidx.preference:preference-ktx:1.1.1'
2020-02-28 19:10:00 +01:00
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
2021-04-18 10:37:16 +02:00
implementation 'androidx.recyclerview:recyclerview:1.2.0'
2020-11-11 13:11:13 +01:00
implementation 'androidx.cardview:cardview:1.0.0'
2020-11-27 12:40:46 +01:00
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
2021-04-18 10:37:16 +02:00
implementation 'com.google.firebase:firebase-messaging:21.1.0'
2021-04-24 23:26:22 +02:00
implementation 'com.android.support:support-core-utils:28.0.0'
2020-02-28 19:10:00 +01:00
2021-04-18 10:37:16 +02:00
/* Default Libraries */
2020-02-28 19:10:00 +01:00
2021-03-18 18:42:53 +01:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
2020-09-11 12:54:25 +02:00
implementation 'androidx.appcompat:appcompat:1.2.0'
2021-03-18 18:42:53 +01:00
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
2021-04-05 21:07:02 +02:00
implementation 'com.google.android.material:material:1.4.0-alpha02'
2021-04-18 10:37:16 +02:00
implementation 'androidx.preference:preference-ktx:1.1.1'
2021-03-18 18:42:53 +01:00
implementation 'com.google.android.material:material:1.3.0'
2020-09-19 14:10:12 +02:00
implementation 'androidx.appcompat:appcompat:1.2.0'
2021-04-18 10:37:16 +02:00
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.32'
2020-01-24 16:23:31 +01:00
2021-04-18 10:37:16 +02:00
/* Firefox ABI Splits */
2020-01-24 16:23:31 +01:00
2021-04-18 10:37:16 +02:00
implementation "org.mozilla.components:browser-engine-gecko:73.0.8"
implementation "org.mozilla.components:browser-icons:73.0.9"
implementation "org.mozilla.geckoview:geckoview:87.0.20210318103112"
implementation "org.mozilla.components:concept-fetch:73.0.9"
implementation "org.mozilla.components:concept-base:73.0.9"
implementation 'com.coolerfall:android-http-download-manager:1.6.3'
implementation "org.mozilla.components:support-utils:73.0.9"
2020-01-24 16:23:31 +01:00
/*Crashlytics*/
2021-04-18 10:37:16 +02:00
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
2021-04-18 10:37:16 +02:00
/* Ads Manager */
implementation 'com.google.android.gms:play-services-ads:20.0.0'
/* Orbot Service */
2020-01-24 16:23:31 +01:00
2021-04-26 23:25:23 +02:00
implementation project(path: ':orbotservicemanager')
2020-01-24 16:23:31 +01:00
2021-04-18 10:37:16 +02:00
/* Helper Libraries */
implementation 'com.github.intelligo-systems:slight:1.1.3'
2020-11-27 12:40:46 +01:00
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
2021-04-18 10:37:16 +02:00
implementation 'com.github.apl-devs:appintro:v4.2.2'
2021-03-18 18:42:53 +01:00
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.volley:volley:1.2.0'
2021-02-15 21:26:33 +01:00
implementation 'com.github.instacart.truetime-android:library-extension-rx:3.3'
2021-04-18 17:47:09 +02:00
implementation files('libs/httpclientandroidlib-1.2.1.jar')
implementation 'net.zetetic:android-database-sqlcipher:4.4.3@aar'
2021-04-21 14:48:24 +02:00
2021-04-23 14:13:50 +02:00
implementation 'com.github.apl-devs:appintro:v4.2.2'
implementation 'androidx.palette:palette:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'com.google.android.material:material:1.2.1'
androidTestImplementation "tools.fastlane:screengrab:1.2.0"
2020-01-24 16:23:31 +01:00
}