LeOS-Genesis/app/build.gradle

110 lines
3.3 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-05-10 20:44:08 +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/"
mavenLocal()
mavenCentral()
google()
jcenter()
}
}
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-07-16 18:28:37 +02:00
arm {
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-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
}
x86_64 {
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension project.ext.dimen
2019-06-15 19:13:52 +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'
}
}
}
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'
implementation 'com.google.android.material:material:1.1.0-alpha08'
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*/
x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190613202504"
x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:67.0.20190613202504"
armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:67.0.20190613202504"
2019-07-16 16:13:43 +02:00
aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:67.0.20190613202504"
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-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*/
implementation 'com.google.android.gms:play-services-ads-lite:18.1.0'
/*Crashlytics*/
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar')
}
2019-06-24 21:48:05 +02:00
apply plugin: 'com.android.application'