LeOS-Genesis/app/build.gradle

128 lines
3.8 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
2019-07-16 18:28:37 +02:00
apply from: 'variables.gradle'
apply plugin: 'maven'
2019-08-11 22:12:53 +02:00
apply plugin: 'io.fabric'
2019-07-16 18:28:37 +02:00
2019-03-24 14:37:13 +01:00
ext {
2019-07-16 18:28:37 +02:00
geckoviewChannel = project.ext.firefox_channel
geckoviewVersion = project.ext.firefox_version
2019-03-24 14:37:13 +01:00
}
2019-05-10 20:44:08 +02:00
repositories {
maven {
url "https://maven.mozilla.org/maven2/"
2019-08-11 22:12:53 +02:00
maven { url 'https://maven.fabric.io/public' }
2019-05-10 20:44:08 +02:00
mavenLocal()
mavenCentral()
google()
jcenter()
}
}
2019-08-11 22:12:53 +02:00
android {
2019-07-16 18:28:37 +02:00
compileSdkVersion project.ext.compileSdkVersion
defaultConfig {
2019-07-16 18:28:37 +02:00
applicationId project.ext.applicationId
minSdkVersion project.ext.minSdkVersion
targetSdkVersion project.ext.targetSdkVersion
versionCode project.ext.versionCode
versionName project.ext.versionName
}
2019-03-24 14:37:13 +01:00
flavorDimensions "abi"
2019-07-16 18:28:37 +02:00
2019-03-24 14:37:13 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2019-05-10 20:44:08 +02:00
2019-07-16 18:28:37 +02:00
flavorDimensions project.ext.dimen
2019-05-10 20:44:08 +02:00
2019-03-24 14:37:13 +01:00
productFlavors {
2019-08-11 11:06:26 +02:00
arm {
2019-07-16 18:28:37 +02:00
versionCode project.ext.arm_vcode
versionName project.ext.arm_vname
dimension project.ext.dimen
2019-07-18 19:15:30 +02:00
}
2019-05-10 20:44:08 +02:00
aarch64 {
2019-07-16 18:28:37 +02:00
versionCode project.ext.aarch_vcode
versionName project.ext.aarch_vname
dimension project.ext.dimen
2019-08-11 11:06:26 +02:00
}
2019-05-10 20:44:08 +02:00
x86 {
2019-07-16 18:28:37 +02:00
versionCode project.ext.x86_vcode
versionName project.ext.x86_vname
dimension project.ext.dimen
}
2019-08-11 11:06:26 +02:00
x86_64 {
2019-07-16 18:28:37 +02:00
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension project.ext.dimen
2019-08-11 11:06:26 +02:00
}
2019-03-24 14:37:13 +01:00
}
2019-05-10 20:44:08 +02:00
buildTypes {
release {
2019-07-16 18:28:37 +02:00
minifyEnabled true
2019-05-10 20:44:08 +02:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
2019-07-20 19:12:04 +02:00
splits {
abi {
enable true
reset()
include 'arm64-v8a'
include 'x86'
include 'armeabi-v7a'
include 'x86_64'
universalApk false
}
}
}
}
dependencies {
2019-07-16 18:28:37 +02:00
/*Default Libraries*/
implementation fileTree(dir: 'libs', include: ['*.jar'])
2019-06-24 21:48:05 +02:00
implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta2'
implementation 'cz.msebera.android:httpclient:4.5.8'
2019-07-16 18:28:37 +02:00
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
2019-08-08 09:38:15 +02:00
implementation 'com.google.android.material:material:1.1.0-alpha09'
2019-07-16 18:28:37 +02:00
implementation 'androidx.preference:preference:1.1.0-rc01'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
2019-05-10 20:44:08 +02:00
2019-07-16 18:28:37 +02:00
/*Firefox ABI Splits*/
2019-08-15 18:38:32 +02:00
x86Implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}"
2019-08-11 22:12:53 +02:00
x86_64Implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}"
armImplementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}"
2019-08-11 11:06:26 +02:00
aarch64Implementation "org.mozilla.geckoview:geckoview-${geckoviewChannel}:${geckoviewVersion}"
2019-07-13 18:20:04 +02:00
2019-07-16 18:28:37 +02:00
/*Alert Dialog*/
2019-05-10 20:44:08 +02:00
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
2019-08-11 22:12:53 +02:00
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
transitive = true;
}
2019-05-10 20:44:08 +02:00
2019-07-16 18:28:37 +02:00
/*Onion Proxy*/
2019-05-10 20:44:08 +02:00
implementation 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7'
2019-06-24 21:48:05 +02:00
implementation 'org.slf4j:slf4j-api:2.0.0-alpha0'
implementation 'org.slf4j:slf4j-android:1.7.26'
2019-07-13 18:20:04 +02:00
2019-07-16 18:28:37 +02:00
/*Ads Manager*/
2019-08-08 09:38:15 +02:00
implementation 'com.google.android.gms:play-services-ads:18.1.1'
2019-07-16 18:28:37 +02:00
/*Crashlytics*/
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar')
2019-08-11 11:06:26 +02:00
}
2019-06-24 21:48:05 +02:00
apply plugin: 'com.android.application'