LeOS-Genesis/app/build.gradle

209 lines
7.8 KiB
Groovy
Raw Normal View History

2020-01-24 16:23:31 +01:00
apply plugin: 'com.android.application'
apply from: 'variables.gradle'
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 {
2020-11-27 12:40:46 +01:00
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
2020-01-24 16:23:31 +01:00
url "https://maven.mozilla.org/maven2/"
mavenLocal()
mavenCentral()
google()
jcenter()
}
}
android {
2020-02-28 19:10:00 +01:00
compileSdkVersion project.ext.compileSdkVersion
2021-03-09 07:36:59 +01:00
ndkVersion "21.4.7075529"
2020-02-28 19:10:00 +01:00
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-11-11 13:11:13 +01:00
targetSdkVersion project.ext.targetSdkVersion
2020-01-24 16:23:31 +01:00
versionCode project.ext.versionCode
versionName project.ext.versionName
}
2020-10-20 16:55:08 +02:00
buildToolsVersion '29.0.3'
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 {
2020-10-20 16:55:08 +02:00
2020-01-24 16:23:31 +01:00
arm {
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-10-20 16:55:08 +02:00
ndk.abiFilters 'armeabi-v7a','arm64-v8a', 'x86', 'x86_64'
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
aarch64 {
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-10-20 16:55:08 +02:00
ndk.abiFilters 'armeabi-v7a','arm64-v8a', 'x86', 'x86_64'
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
x86 {
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-10-20 16:55:08 +02:00
ndk.abiFilters 'armeabi-v7a','arm64-v8a', 'x86', 'x86_64'
2020-02-28 19:10:00 +01:00
}
2020-01-24 16:23:31 +01:00
}
x86_64 {
2020-02-28 19:10:00 +01:00
dimension "abi"
ndk {
2020-10-20 16:55:08 +02:00
ndk.abiFilters 'armeabi-v7a','arm64-v8a', 'x86', 'x86_64'
2020-02-28 19:10:00 +01:00
}
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 {
res.srcDirs =
[
'src/main/res/layouts/history',
2020-12-11 08:05:08 +01:00
'src/main/res/layouts/help',
2020-11-11 13:11:13 +01:00
'src/main/res/layouts/tab',
2020-10-20 16:55:08 +02:00
'src/main/res/layouts/language',
'src/main/res/layouts/orbot',
2021-01-18 11:07:12 +01:00
'src/main/res/layouts/proxyStatus',
2020-11-11 13:11:13 +01:00
'src/main/res/layouts/orbotLog',
2020-10-22 10:36:44 +02:00
'src/main/res/layouts/setting',
2020-10-20 16:55:08 +02:00
'src/main/res/layouts/bridge',
2020-11-27 12:40:46 +01:00
'src/main/res/layouts/log',
2021-02-03 11:54:19 +01:00
'src/main/res/layouts/landing',
2020-10-20 16:55:08 +02:00
'src/main/res/layouts/alert',
'src/main/res/layouts/bookmark',
'src/main/res/layouts/shared',
'src/main/res/layouts/shared/listviews',
2021-03-18 18:42:53 +01:00
'src/main/res/layouts/searchWidget',
2021-02-03 11:54:19 +01:00
'src/main/res/layouts/home',
2020-10-20 16:55:08 +02:00
'src/main/res/custom-xml/alert',
2020-11-11 13:11:13 +01:00
'src/main/res/custom-xml/tab',
2020-10-20 16:55:08 +02:00
'src/main/res/custom-xml/images',
'src/main/res/custom-xml/bookmark',
'src/main/res/custom-xml/generic',
'src/main/res/custom-xml/history',
'src/main/res/custom-xml/home',
'src/main/res/custom-xml/landing',
'src/main/res/custom-xml/orbot',
2020-11-11 13:11:13 +01:00
'src/main/res/custom-xml/orbot_log',
2020-10-20 16:55:08 +02:00
'src/main/res/custom-xml/setting',
'src/main/res/layouts',
'src/main/res/images',
'src/main/res'
]
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
2021-03-23 12:52:22 +01:00
androidTestImplementation 'junit:junit:4.13.2'
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'
implementation 'androidx.preference:preference:1.1.1'
2020-10-05 13:12:00 +02:00
implementation 'androidx.preference:preference:1.1.1'
2020-02-28 19:10:00 +01:00
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.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-01-18 11:07:12 +01:00
implementation 'com.google.firebase:firebase-messaging:21.0.1'
2020-02-28 19:10:00 +01:00
// 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*/
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'
2020-09-11 12:54:25 +02:00
implementation 'androidx.preference:preference: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-03-18 18:42:53 +01:00
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.31'
2020-01-24 16:23:31 +01:00
/*Firefox ABI Splits*/
implementation "org.mozilla.components:browser-engine-gecko:$mozilla_components_version"
2020-10-05 13:12:00 +02:00
implementation "org.mozilla.components:browser-icons:$mozilla_components_icon_version"
2020-01-24 16:23:31 +01:00
implementation "org.mozilla.geckoview:geckoview:$gecko_nightly_version"
/*Alert Dialog*/
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
/*Ads Manager*/
2021-03-18 18:42:53 +01:00
implementation 'com.google.android.gms:play-services-ads:19.8.0'
2020-01-24 16:23:31 +01:00
/*Crashlytics*/
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*/
2020-10-05 13:12:00 +02:00
implementation 'com.daimajia.easing:library:2.4@aar'
implementation 'com.daimajia.androidanimations:library:2.4@aar'
2020-01-24 16:23:31 +01:00
/*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-11-11 13:11:13 +01:00
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
2020-01-24 16:23:31 +01:00
2020-10-05 13:12:00 +02:00
/*Helper Libraries*/
implementation 'com.chauthai.overscroll:overscroll-bouncy:0.1.1'
2020-11-27 12:40:46 +01:00
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
2021-03-18 18:42:53 +01:00
implementation 'com.android.support:design:28.0.0'
2021-01-18 11:07:12 +01:00
implementation "org.mozilla.components:browser-icons:9.0.0"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.30.1'
2021-03-18 18:42:53 +01:00
implementation 'com.android.volley:volley:1.2.0'
2021-01-18 11:07:12 +01:00
implementation 'com.github.gabrielemariotti.recyclerview:recyclerview-animators:0.3.0-SNAPSHOT@aar'
2021-02-15 21:26:33 +01:00
implementation 'com.github.instacart.truetime-android:library-extension-rx:3.3'
2021-01-18 11:07:12 +01:00
/*Image Cache Libraries*/
2021-03-23 12:52:22 +01:00
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
2021-01-18 11:07:12 +01:00
implementation 'com.github.intelligo-systems:slight:1.1.3'
2021-03-23 12:52:22 +01:00
implementation "org.mozilla.components:concept-fetch:73.0.9"
implementation "org.mozilla.components:concept-base:73.0.9"
2021-03-06 19:55:24 +01:00
implementation 'com.coolerfall:android-http-download-manager:1.6.3'
2021-03-23 12:52:22 +01:00
implementation "org.mozilla.components:support-utils:73.0.9"
2021-01-18 11:07:12 +01:00
2020-01-24 16:23:31 +01:00
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
2020-10-20 16:55:08 +02:00