LeOS-Genesis/app/build.gradle

147 lines
4.7 KiB
Groovy
Executable File

apply from: 'variables.gradle'
apply plugin: 'com.android.application'
apply plugin: 'maven-publish'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
ext {
geckoviewChannel = project.ext.firefox_channel
geckoviewVersion = project.ext.firefox_version
}
repositories {
maven {
maven { url project.ext.url_snapshot }
url project.ext.url
mavenLocal()
mavenCentral()
google()
jcenter()
}
}
android {
compileSdkVersion project.ext.compile_sdk_version
ndkVersion project.ext.ndk_version
defaultConfig {
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
}
buildToolsVersion project.ext.build_tool_version
flavorDimensions project.ext.dimen
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 project.ext.dimen
}
aarch64 {
versionCode project.ext.aarch_vcode
versionName project.ext.aarch_vname
dimension project.ext.dimen
}
x86 {
versionCode project.ext.x86_vcode
versionName project.ext.x86_vname
dimension project.ext.dimen
}
x86_64 {
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension project.ext.dimen
}
}
sourceSets {
main {
res.srcDirs = project.ext.resource_directories
}
}
buildTypes {
release {
minifyEnabled project.ext.minifyEnabled
proguardFiles getDefaultProguardFile(project.ext.proguard_file), project.ext.proguard_rule
}
}
lintOptions {
checkReleaseBuilds project.ext.checkReleaseBuilds
abortOnError project.ext.abortOnError
}
}
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-ktx:1.1.1'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'com.google.firebase:firebase-messaging:21.1.0'
/* Default Libraries */
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.material:material:1.4.0-alpha02'
implementation 'androidx.preference:preference-ktx:1.1.1'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.32'
/* Firefox ABI Splits */
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"
/*Crashlytics*/
implementation 'com.flurry.android:analytics:12.4.0@aar'
/* Ads Manager */
implementation 'com.google.android.gms:play-services-ads:20.0.0'
/* Orbot Service */
implementation project(path: ':orbotservice')
/* Helper Libraries */
implementation 'com.github.intelligo-systems:slight:1.1.3'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.apl-devs:appintro:v4.2.2'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.volley:volley:1.2.0'
implementation 'com.github.instacart.truetime-android:library-extension-rx:3.3'
implementation files('libs\\httpclientandroidlib-1.2.1.jar')
}