2018-08-02 13:33:06 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2020-10-15 12:01:13 +00:00
|
|
|
apply plugin: 'com.bugsnag.android.gradle'
|
2021-05-15 20:03:05 +00:00
|
|
|
apply plugin: 'kotlin-android'
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2021-06-29 08:13:12 +00:00
|
|
|
def getVersionCode = { -> return 1630 }
|
2021-06-26 14:06:15 +00:00
|
|
|
def getReleaseName = { -> return "\"Sciurumimus\"" }
|
2020-10-16 20:30:11 +00:00
|
|
|
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera
|
|
|
|
|
2019-01-15 13:07:07 +00:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
2019-03-26 13:51:35 +00:00
|
|
|
|
2019-01-15 13:07:07 +00:00
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
2018-08-02 13:33:06 +00:00
|
|
|
android {
|
2020-06-13 19:45:12 +00:00
|
|
|
compileSdkVersion 30
|
2019-06-15 08:02:41 +00:00
|
|
|
|
2018-08-02 13:33:06 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "eu.faircode.email"
|
2018-12-09 17:49:52 +00:00
|
|
|
minSdkVersion 21
|
2021-03-27 18:37:24 +00:00
|
|
|
targetSdkVersion 30
|
2020-10-16 20:30:11 +00:00
|
|
|
versionCode getVersionCode()
|
|
|
|
versionName "1." + getVersionCode()
|
2018-08-14 05:53:24 +00:00
|
|
|
archivesBaseName = "FairEmail-v$versionName"
|
2018-08-03 12:07:51 +00:00
|
|
|
|
2020-10-16 20:30:11 +00:00
|
|
|
buildConfigField "String", "RELEASE_NAME", getReleaseName()
|
2019-07-13 18:14:19 +00:00
|
|
|
|
2018-08-03 12:07:51 +00:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
|
|
}
|
|
|
|
}
|
2019-06-14 18:29:40 +00:00
|
|
|
|
|
|
|
// https://developer.android.com/guide/topics/graphics/vector-drawable-resources
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
2019-06-15 08:02:41 +00:00
|
|
|
|
2020-05-28 07:48:27 +00:00
|
|
|
//ndkVersion "21.0.6113669"
|
2019-06-15 08:02:41 +00:00
|
|
|
ndk {
|
2020-06-27 11:38:24 +00:00
|
|
|
// Bugsnag, sqlite
|
2019-06-15 08:02:41 +00:00
|
|
|
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
|
|
|
|
}
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|
2019-06-15 08:02:41 +00:00
|
|
|
|
2020-10-16 20:30:11 +00:00
|
|
|
sourceSets {
|
|
|
|
github {
|
|
|
|
java.srcDirs = ['src/main/java', 'src/play/java']
|
2020-05-28 17:54:40 +00:00
|
|
|
}
|
2020-10-16 20:30:11 +00:00
|
|
|
fdroid {
|
|
|
|
java.srcDirs = ['src/main/java', 'src/fdroid/java']
|
2020-06-13 18:08:33 +00:00
|
|
|
}
|
2020-10-16 20:30:11 +00:00
|
|
|
play {
|
|
|
|
java.srcDirs = ['src/main/java', 'src/play/java']
|
|
|
|
}
|
|
|
|
main.res.srcDirs += 'src/main/resExtra'
|
2020-05-28 17:54:40 +00:00
|
|
|
}
|
|
|
|
|
2019-07-23 18:27:05 +00:00
|
|
|
lintOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
2019-07-28 10:44:45 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2020-10-14 18:54:28 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "CMakeLists.txt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-16 20:30:11 +00:00
|
|
|
dependenciesInfo {
|
|
|
|
includeInApk = false
|
|
|
|
includeInBundle = false
|
|
|
|
}
|
|
|
|
|
2019-07-23 18:27:05 +00:00
|
|
|
packagingOptions {
|
2020-07-12 07:00:29 +00:00
|
|
|
exclude 'LICENSES'
|
2019-07-23 18:27:05 +00:00
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
|
exclude 'META-INF/README.md'
|
|
|
|
exclude 'META-INF/CHANGES'
|
2019-10-20 16:25:21 +00:00
|
|
|
exclude 'META-INF/jersey-module-version'
|
2020-05-19 18:20:31 +00:00
|
|
|
exclude 'META-INF/COPYRIGHT.html'
|
|
|
|
exclude 'META-INF/LICENSE.gpl.txt'
|
|
|
|
exclude 'META-INF/LICENSE.commercial.txt'
|
2020-10-18 11:25:57 +00:00
|
|
|
exclude 'org/apache/**'
|
2019-07-23 18:27:05 +00:00
|
|
|
}
|
|
|
|
|
2020-09-10 09:08:12 +00:00
|
|
|
// https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.SigningConfig.html
|
2019-01-15 13:07:07 +00:00
|
|
|
signingConfigs {
|
2020-06-13 18:08:33 +00:00
|
|
|
release {
|
2019-01-15 13:07:07 +00:00
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
2020-02-27 12:15:09 +00:00
|
|
|
v1SigningEnabled true
|
2020-09-10 09:08:12 +00:00
|
|
|
v2SigningEnabled true
|
2020-02-27 12:15:09 +00:00
|
|
|
}
|
2019-01-15 13:07:07 +00:00
|
|
|
}
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2020-10-16 20:30:11 +00:00
|
|
|
buildFeatures {
|
2021-01-19 16:54:32 +00:00
|
|
|
buildConfig = true
|
|
|
|
viewBinding = false
|
|
|
|
dataBinding = false
|
|
|
|
aidl = true
|
|
|
|
renderScript = false
|
|
|
|
resValues = false
|
|
|
|
shaders = false
|
|
|
|
compose = false
|
2020-10-16 20:30:11 +00:00
|
|
|
}
|
|
|
|
|
2018-08-02 13:33:06 +00:00
|
|
|
buildTypes {
|
2020-10-15 09:13:05 +00:00
|
|
|
// https://developer.android.com/studio/build/shrink-code
|
2020-06-13 18:08:33 +00:00
|
|
|
release {
|
2020-02-27 12:15:09 +00:00
|
|
|
debuggable = false
|
2020-10-15 11:50:35 +00:00
|
|
|
minifyEnabled = true
|
2020-02-27 12:15:09 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2020-06-13 18:08:33 +00:00
|
|
|
signingConfig signingConfigs.release
|
2018-12-21 09:18:58 +00:00
|
|
|
}
|
2018-08-02 13:33:06 +00:00
|
|
|
debug {
|
2019-12-03 07:45:26 +00:00
|
|
|
applicationIdSuffix '.debug'
|
2018-09-04 18:06:22 +00:00
|
|
|
debuggable = true
|
2018-11-22 08:00:02 +00:00
|
|
|
minifyEnabled = false
|
2018-08-02 13:33:06 +00:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2019-01-07 10:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
flavorDimensions "all"
|
|
|
|
|
|
|
|
productFlavors {
|
2020-06-13 18:08:33 +00:00
|
|
|
github {
|
2019-01-07 10:45:17 +00:00
|
|
|
dimension "all"
|
2019-02-07 19:49:14 +00:00
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
2018-12-19 13:57:01 +00:00
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
2021-06-28 14:39:55 +00:00
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
2019-02-07 19:49:14 +00:00
|
|
|
buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/donate/\""
|
2019-07-12 14:57:56 +00:00
|
|
|
buildConfigField "String", "CHANGELOG", "\"https://github.com/M66B/FairEmail/releases/\""
|
2020-10-02 09:02:14 +00:00
|
|
|
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/FairEmail/releases/latest\""
|
|
|
|
buildConfigField "String", "GITHUB_LATEST_URI", "\"https://github.com/M66B/FairEmail/releases\""
|
2021-06-23 12:19:21 +00:00
|
|
|
buildConfigField "String", "GRAVATAR_URI", "\"https://www.gravatar.com/avatar/\""
|
2019-01-09 18:15:47 +00:00
|
|
|
}
|
2020-06-13 18:08:33 +00:00
|
|
|
fdroid {
|
2019-01-09 18:15:47 +00:00
|
|
|
dimension "all"
|
2019-02-07 19:49:14 +00:00
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
2020-06-13 18:08:33 +00:00
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
2021-06-28 14:39:55 +00:00
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
2020-06-13 18:08:33 +00:00
|
|
|
buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/donate/\""
|
|
|
|
buildConfigField "String", "CHANGELOG", "\"https://github.com/M66B/FairEmail/releases/\""
|
2020-10-02 09:02:14 +00:00
|
|
|
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/FairEmail/releases/latest\""
|
|
|
|
buildConfigField "String", "GITHUB_LATEST_URI", "\"https://github.com/M66B/FairEmail/releases\""
|
2021-06-23 12:19:21 +00:00
|
|
|
buildConfigField "String", "GRAVATAR_URI", "\"https://www.gravatar.com/avatar/\""
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|
2020-06-13 18:08:33 +00:00
|
|
|
play {
|
2019-01-07 10:45:17 +00:00
|
|
|
dimension "all"
|
2020-07-29 07:11:44 +00:00
|
|
|
//minSdkVersion 23
|
2020-06-13 18:08:33 +00:00
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
2019-01-07 10:45:17 +00:00
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
2021-06-28 14:39:55 +00:00
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "false"
|
|
|
|
buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/#pro\""
|
|
|
|
buildConfigField "String", "CHANGELOG", "\"\""
|
|
|
|
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
|
|
|
|
buildConfigField "String", "GITHUB_LATEST_URI", "\"\""
|
|
|
|
buildConfigField "String", "GRAVATAR_URI", "\"\""
|
|
|
|
}
|
|
|
|
amazon {
|
|
|
|
dimension "all"
|
|
|
|
//minSdkVersion 23
|
|
|
|
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
|
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
|
|
|
buildConfigField "boolean", "AMAZON_RELEASE", "true"
|
2019-02-07 19:49:14 +00:00
|
|
|
buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/#pro\""
|
2019-04-19 13:16:40 +00:00
|
|
|
buildConfigField "String", "CHANGELOG", "\"\""
|
2019-01-07 10:45:17 +00:00
|
|
|
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
|
2020-10-02 09:02:14 +00:00
|
|
|
buildConfigField "String", "GITHUB_LATEST_URI", "\"\""
|
2021-06-23 12:19:21 +00:00
|
|
|
buildConfigField "String", "GRAVATAR_URI", "\"\""
|
2019-01-07 10:45:17 +00:00
|
|
|
}
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|
|
|
|
|
2020-02-27 12:15:09 +00:00
|
|
|
variantFilter { variant ->
|
|
|
|
def flavors = variant.flavors*.name
|
2020-06-13 18:08:33 +00:00
|
|
|
// Builds: release, debug
|
|
|
|
// Flavors: github, fdroid, play
|
|
|
|
if (variant.buildType.name == "debug" &&
|
2021-06-28 14:39:55 +00:00
|
|
|
(flavors.contains("fdroid") || flavors.contains("play") || flavors.contains("_amazon"))) {
|
2020-02-27 12:15:09 +00:00
|
|
|
setIgnore(true)
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 12:01:13 +00:00
|
|
|
|
2020-10-16 20:30:11 +00:00
|
|
|
// https://stackoverflow.com/questions/28948538/
|
|
|
|
// $JAVA_HOME/bin/java -jar ~/Android/Sdk/tools/proguard/lib/retrace.jar ~/email/app/schemas/mapping/FairEmail-v1.nnn-github-release-mapping.txt
|
|
|
|
applicationVariants.all { variant ->
|
|
|
|
if (variant.getBuildType().isMinifyEnabled())
|
|
|
|
variant.assembleProvider.get().doLast {
|
|
|
|
for (file in variant.getMappingFileProvider().get().files)
|
|
|
|
if (file != null && file.exists()) {
|
|
|
|
def dir = "${rootDir}/app/schemas/mapping"
|
|
|
|
def name = "$archivesBaseName-$variant.baseName-$file.name"
|
|
|
|
def target = new File(dir, name)
|
|
|
|
if (!target.exists())
|
|
|
|
copy {
|
|
|
|
from file
|
|
|
|
into dir
|
|
|
|
rename { String fileName -> name }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-15 12:01:13 +00:00
|
|
|
bugsnag {
|
|
|
|
// https://docs.bugsnag.com/build-integrations/gradle/
|
|
|
|
uploadJvmMappings = false // disables upload of ProGuard/DexGuard/R8 mapping files
|
|
|
|
uploadNdkMappings = false // disables upload of NDK mapping files
|
|
|
|
reportBuilds = false // disables upload of build metadata
|
|
|
|
overwrite = true
|
|
|
|
builderName = "M66B"
|
|
|
|
sourceControl {
|
|
|
|
provider = "github-enterprise"
|
|
|
|
repository = "https://github.com/M66B/FairEmail"
|
|
|
|
}
|
|
|
|
}
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|
|
|
|
|
2019-07-23 12:02:19 +00:00
|
|
|
task copyMarkdown(type: Copy) {
|
|
|
|
from "${rootDir}"
|
|
|
|
into "src/main/assets"
|
|
|
|
include "SETUP.md"
|
2019-07-23 14:59:12 +00:00
|
|
|
include "ATTRIBUTION.md"
|
2019-07-23 12:02:19 +00:00
|
|
|
}
|
|
|
|
preBuild.dependsOn copyMarkdown
|
|
|
|
|
2018-08-02 13:33:06 +00:00
|
|
|
repositories {
|
2018-10-12 08:33:23 +00:00
|
|
|
google()
|
2021-05-04 18:42:24 +00:00
|
|
|
mavenCentral()
|
2019-04-19 06:31:00 +00:00
|
|
|
maven { url "https://jitpack.io" }
|
2020-02-27 10:55:20 +00:00
|
|
|
//maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
|
2020-02-27 09:19:35 +00:00
|
|
|
//maven { url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/" }
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|
|
|
|
|
2019-06-29 19:18:24 +00:00
|
|
|
configurations.all {
|
2019-07-28 10:44:45 +00:00
|
|
|
// Workaround https://issuetracker.google.com/issues/138441698
|
|
|
|
// Support @69c481c39a17d4e1e44a4eb298bb81c48f226eef
|
2019-09-06 09:01:08 +00:00
|
|
|
exclude group: "androidx.room", module: "room-runtime"
|
2019-07-27 09:42:19 +00:00
|
|
|
// Workaround https://issuetracker.google.com/issues/134685570
|
2019-09-06 09:01:08 +00:00
|
|
|
exclude group: "androidx.lifecycle", module: "lifecycle-livedata"
|
2019-10-11 12:12:34 +00:00
|
|
|
exclude group: "androidx.lifecycle", module: "lifecycle-livedata-core"
|
|
|
|
|
|
|
|
// lifecycle-livedata: ComputableLiveData, MediatorLiveData, Transformations
|
|
|
|
// lifecycle-livedata-core: LiveData, MutableLiveData, Observer
|
2020-07-22 06:39:30 +00:00
|
|
|
// paging-runtime: AsyncPagedListDiffer, LivePagedListBuilder, PagedListAdapter, PagedStorageDiffHelper
|
2019-06-29 19:18:24 +00:00
|
|
|
}
|
|
|
|
|
2018-08-02 13:33:06 +00:00
|
|
|
dependencies {
|
2021-06-28 14:39:55 +00:00
|
|
|
//implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2021-05-19 13:46:01 +00:00
|
|
|
def startup_version = "1.1.0-beta01"
|
2021-04-13 06:47:28 +00:00
|
|
|
def annotation_version = "1.1.0"
|
2021-05-19 13:46:01 +00:00
|
|
|
def core_version = "1.5.0"
|
|
|
|
def appcompat_version = "1.3.0"
|
2021-05-08 06:16:36 +00:00
|
|
|
def activity_version = "1.2.3"
|
2021-06-17 07:40:10 +00:00
|
|
|
def fragment_version = "1.3.5"
|
2021-01-23 14:08:22 +00:00
|
|
|
def webkit_version = "1.4.0"
|
2021-06-02 18:09:32 +00:00
|
|
|
def recyclerview_version = "1.2.1"
|
2019-12-08 18:33:02 +00:00
|
|
|
def coordinatorlayout_version = "1.1.0"
|
2021-03-17 06:40:14 +00:00
|
|
|
def constraintlayout_version = "2.0.2"
|
2021-02-11 19:25:58 +00:00
|
|
|
def material_version = "1.3.0"
|
2020-12-02 18:36:29 +00:00
|
|
|
def browser_version = "1.3.0"
|
2019-09-14 11:30:34 +00:00
|
|
|
def lbm_version = "1.0.0"
|
2020-07-26 06:55:59 +00:00
|
|
|
def swiperefresh_version = "1.2.0-alpha01"
|
2019-09-14 11:30:34 +00:00
|
|
|
def documentfile_version = "1.0.1"
|
2021-06-17 07:40:10 +00:00
|
|
|
def lifecycle_version = "2.4.0-alpha02"
|
2020-08-23 10:55:03 +00:00
|
|
|
def lifecycle_extensions_version = "2.2.0"
|
2021-06-17 07:40:10 +00:00
|
|
|
def room_version = "2.3.0" // 2.4.0-alpha03
|
|
|
|
def sqlite_version = "2.1.0" // 2.2.0-alpha01
|
2021-04-27 07:32:51 +00:00
|
|
|
def requery_version = "3.35.5"
|
2021-05-08 06:16:36 +00:00
|
|
|
def paging_version = "2.1.2" // 3.0.0
|
2020-04-16 15:14:17 +00:00
|
|
|
def preference_version = "1.1.1"
|
2021-06-02 18:09:32 +00:00
|
|
|
def work_version = "2.6.0-beta01"
|
2020-12-02 18:36:29 +00:00
|
|
|
def exif_version = "1.3.2"
|
2021-02-24 17:35:32 +00:00
|
|
|
def biometric_version = "1.2.0-alpha03"
|
2021-03-18 16:45:55 +00:00
|
|
|
def billingclient_version = "3.0.3"
|
2021-04-27 07:20:49 +00:00
|
|
|
def javamail_version = "1.6.7"
|
2020-03-20 18:53:45 +00:00
|
|
|
def jsoup_version = "1.13.1"
|
2021-01-17 09:55:48 +00:00
|
|
|
def css_version = "0.9.29"
|
2020-04-20 13:01:05 +00:00
|
|
|
def jax_version = "2.3.0-jaxb-1.0.6"
|
2020-04-15 19:03:40 +00:00
|
|
|
def dnsjava_version = "2.1.9"
|
2018-10-28 12:49:13 +00:00
|
|
|
def openpgp_version = "12.0"
|
2019-03-27 09:48:20 +00:00
|
|
|
def badge_version = "1.1.22"
|
2021-06-01 05:34:31 +00:00
|
|
|
def bugsnag_version = "5.9.4"
|
2021-01-17 09:55:48 +00:00
|
|
|
def biweekly_version = "0.6.6"
|
2021-05-04 18:42:24 +00:00
|
|
|
def relinker_version = "1.4.3"
|
2021-03-05 20:24:34 +00:00
|
|
|
def markwon_version = "4.6.2"
|
2021-01-19 16:54:32 +00:00
|
|
|
def bouncycastle_version = "1.68"
|
2019-12-08 19:15:33 +00:00
|
|
|
def colorpicker_version = "0.0.15"
|
2021-05-04 18:42:24 +00:00
|
|
|
def overscroll_version = "1.1.1"
|
2021-05-31 13:44:48 +00:00
|
|
|
def appauth_version = "0.8.1"
|
2020-03-20 18:12:18 +00:00
|
|
|
def jcharset_version = "2.1"
|
2021-03-05 20:24:34 +00:00
|
|
|
def apache_poi = "3.17" // Do not update
|
2021-05-21 21:11:58 +00:00
|
|
|
def reactivestreams_version = "1.0.3"
|
|
|
|
def rxjava2_version = "2.2.21"
|
2018-08-07 05:30:15 +00:00
|
|
|
|
2021-05-19 13:46:01 +00:00
|
|
|
// https://developer.android.com/jetpack/androidx/releases/startup
|
|
|
|
implementation "androidx.startup:startup-runtime:$startup_version"
|
|
|
|
|
2019-03-27 13:50:47 +00:00
|
|
|
// https://developer.android.com/jetpack/androidx/releases/
|
2021-01-31 17:26:44 +00:00
|
|
|
implementation "androidx.annotation:annotation-experimental:$annotation_version"
|
2019-03-31 17:04:23 +00:00
|
|
|
|
2019-09-14 15:39:08 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.core/core
|
|
|
|
implementation "androidx.core:core:$core_version"
|
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.appcompat/appcompat
|
2020-10-01 20:40:02 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.activity/activity
|
2019-08-21 17:12:19 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.fragment/fragment
|
2018-11-13 15:03:20 +00:00
|
|
|
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
2020-10-01 20:40:02 +00:00
|
|
|
implementation "androidx.activity:activity:$activity_version"
|
2019-08-11 19:08:26 +00:00
|
|
|
implementation "androidx.fragment:fragment:$fragment_version"
|
2018-11-10 09:09:56 +00:00
|
|
|
|
2021-01-23 14:08:22 +00:00
|
|
|
// https://developer.android.com/jetpack/androidx/releases/webkit
|
|
|
|
// https://mvnrepository.com/artifact/androidx.webkit/webkit
|
|
|
|
implementation "androidx.webkit:webkit:$webkit_version"
|
|
|
|
|
2020-04-20 14:58:16 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.viewpager2/viewpager2
|
2020-05-19 09:10:59 +00:00
|
|
|
//implementation "androidx.viewpager2:viewpager2:1.1.0-alpha01"
|
2020-04-20 14:58:16 +00:00
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview
|
2019-03-31 14:49:10 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.recyclerview/recyclerview-selection
|
2018-11-13 14:33:41 +00:00
|
|
|
implementation "androidx.recyclerview:recyclerview:$recyclerview_version"
|
2021-05-08 06:16:36 +00:00
|
|
|
//implementation "androidx.recyclerview:recyclerview-selection:1.1.0" // 1.2.0-alpha01
|
2018-11-10 09:09:56 +00:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/androidx.coordinatorlayout/coordinatorlayout
|
2018-11-13 14:33:41 +00:00
|
|
|
implementation "androidx.coordinatorlayout:coordinatorlayout:$coordinatorlayout_version"
|
2018-11-10 09:09:56 +00:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
|
2018-09-12 16:54:48 +00:00
|
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
|
2018-11-10 09:09:56 +00:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/com.google.android.material/material
|
2019-06-01 07:54:48 +00:00
|
|
|
// https://github.com/material-components/material-components-android/releases
|
2018-11-13 14:33:41 +00:00
|
|
|
implementation "com.google.android.material:material:$material_version"
|
2018-11-10 09:09:56 +00:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/androidx.browser/browser
|
2018-11-13 14:33:41 +00:00
|
|
|
implementation "androidx.browser:browser:$browser_version"
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-09-14 11:30:34 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.localbroadcastmanager/localbroadcastmanager
|
|
|
|
implementation "androidx.localbroadcastmanager:localbroadcastmanager:$lbm_version"
|
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/androidx.swiperefreshlayout/swiperefreshlayout
|
|
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$swiperefresh_version"
|
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/androidx.documentfile/documentfile
|
|
|
|
implementation "androidx.documentfile:documentfile:$documentfile_version"
|
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-runtime
|
2019-07-06 08:46:15 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-livedata
|
|
|
|
// https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-livedata-core
|
2020-08-23 10:55:03 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-compiler
|
|
|
|
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata-core:$lifecycle_version"
|
2018-08-23 09:48:27 +00:00
|
|
|
annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
|
|
|
|
|
2020-08-23 10:55:03 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-extensions
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_extensions_version"
|
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.room/room-runtime
|
2018-08-23 09:48:27 +00:00
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
2019-07-28 10:44:45 +00:00
|
|
|
implementation "androidx.room:room-common:$room_version" // because of exclude
|
|
|
|
// https://mvnrepository.com/artifact/androidx.sqlite/sqlite-framework
|
2019-12-08 18:33:02 +00:00
|
|
|
implementation "androidx.sqlite:sqlite-framework:$sqlite_version" // because of exclude
|
2018-08-23 09:48:27 +00:00
|
|
|
annotationProcessor "androidx.room:room-compiler:$room_version"
|
|
|
|
|
2021-04-27 07:26:28 +00:00
|
|
|
// https://www.sqlite.org/changes.html
|
|
|
|
// https://github.com/requery/sqlite-android/
|
2021-04-27 07:32:51 +00:00
|
|
|
// https://jitpack.io/#requery/sqlite-android
|
|
|
|
implementation "com.github.requery:sqlite-android:$requery_version"
|
2021-04-27 07:26:28 +00:00
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.paging/paging-runtime
|
2020-06-01 06:40:04 +00:00
|
|
|
// https://developer.android.com/jetpack/androidx/releases/paging
|
2020-07-22 06:39:30 +00:00
|
|
|
//implementation "androidx.paging:paging-runtime:$paging_version"
|
2019-09-14 11:44:19 +00:00
|
|
|
|
2019-03-15 13:54:25 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.preference/preference
|
|
|
|
implementation "androidx.preference:preference:$preference_version"
|
|
|
|
|
2019-09-14 11:44:19 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.work/work-runtime
|
2019-03-27 13:50:47 +00:00
|
|
|
implementation "androidx.work:work-runtime:$work_version"
|
2019-03-03 09:09:11 +00:00
|
|
|
|
2019-03-27 11:14:09 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.exifinterface/exifinterface
|
|
|
|
implementation "androidx.exifinterface:exifinterface:$exif_version"
|
|
|
|
|
2019-07-10 15:58:26 +00:00
|
|
|
// https://mvnrepository.com/artifact/androidx.biometric/biometric
|
|
|
|
// https://developer.android.com/jetpack/androidx/releases/biometric
|
|
|
|
implementation "androidx.biometric:biometric:$biometric_version"
|
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://developer.android.com/google/play/billing/billing_library_releases_notes
|
2020-06-13 16:51:15 +00:00
|
|
|
// https://android-developers.googleblog.com/2020/06/meet-google-play-billing-library.html
|
2020-06-14 08:51:51 +00:00
|
|
|
githubImplementation "com.android.billingclient:billing:$billingclient_version"
|
|
|
|
playImplementation "com.android.billingclient:billing:$billingclient_version"
|
2018-08-25 13:32:52 +00:00
|
|
|
|
2021-06-28 14:39:55 +00:00
|
|
|
// https://developer.amazon.com/docs/in-app-purchasing/iap-get-started.html
|
|
|
|
amazonImplementation files('lib/in-app-purchasing-2.0.76.jar')
|
|
|
|
|
2018-11-10 09:09:56 +00:00
|
|
|
// https://javaee.github.io/javamail/
|
|
|
|
// https://projects.eclipse.org/projects/ee4j.javamail
|
2019-03-17 09:18:40 +00:00
|
|
|
// https://mvnrepository.com/artifact/com.sun.mail
|
2020-06-13 19:44:18 +00:00
|
|
|
//implementation "com.sun.mail:android-mail:$javamail_version"
|
|
|
|
//implementation "com.sun.mail:android-activation:$javamail_version"
|
2018-08-02 13:33:06 +00:00
|
|
|
|
2019-10-13 12:40:41 +00:00
|
|
|
// https://jsoup.org/news/
|
2020-06-27 09:17:10 +00:00
|
|
|
// https://mvnrepository.com/artifact/org.jsoup/jsoup
|
2018-08-07 05:30:15 +00:00
|
|
|
implementation "org.jsoup:jsoup:$jsoup_version"
|
2018-08-08 05:02:25 +00:00
|
|
|
|
2020-04-20 13:01:05 +00:00
|
|
|
// http://cssparser.sourceforge.net/
|
|
|
|
// https://mvnrepository.com/artifact/net.sourceforge.cssparser/cssparser
|
|
|
|
implementation "net.sourceforge.cssparser:cssparser:$css_version"
|
|
|
|
|
|
|
|
// https://github.com/eclipse-ee4j/jaxb-ri
|
|
|
|
// https://mvnrepository.com/artifact/org.w3c/dom
|
|
|
|
implementation "org.w3c:dom:$jax_version"
|
|
|
|
|
2019-02-20 11:34:35 +00:00
|
|
|
// http://www.dnsjava.org/
|
|
|
|
// https://mvnrepository.com/artifact/dnsjava/dnsjava
|
2018-09-18 14:22:10 +00:00
|
|
|
implementation "dnsjava:dnsjava:$dnsjava_version"
|
|
|
|
|
2018-10-28 12:49:13 +00:00
|
|
|
// https://github.com/open-keychain/openpgp-api
|
2019-11-15 16:55:35 +00:00
|
|
|
// https://mvnrepository.com/artifact/org.sufficientlysecure/openpgp-api
|
2019-12-24 18:20:16 +00:00
|
|
|
//implementation "org.sufficientlysecure:openpgp-api:$openpgp_version"
|
|
|
|
implementation project(':openpgp-api')
|
2018-10-28 12:49:13 +00:00
|
|
|
|
2019-03-27 09:48:20 +00:00
|
|
|
// https://github.com/leolin310148/ShortcutBadger
|
2019-04-04 17:37:29 +00:00
|
|
|
// https://mvnrepository.com/artifact/me.leolin/ShortcutBadger
|
2019-03-27 09:48:20 +00:00
|
|
|
implementation "me.leolin:ShortcutBadger:$badge_version"
|
|
|
|
|
2019-05-10 06:53:45 +00:00
|
|
|
// https://github.com/bugsnag/bugsnag-android
|
2021-01-17 09:55:48 +00:00
|
|
|
// https://mvnrepository.com/artifact/com.bugsnag/bugsnag-android
|
2019-07-23 12:02:19 +00:00
|
|
|
implementation("com.bugsnag:bugsnag-android:$bugsnag_version") {
|
2020-08-19 09:39:01 +00:00
|
|
|
//exclude group: "com.bugsnag", module: "bugsnag-plugin-android-anr"
|
2019-08-29 14:57:22 +00:00
|
|
|
exclude group: "com.bugsnag", module: "bugsnag-plugin-android-ndk"
|
2021-05-15 20:03:05 +00:00
|
|
|
exclude group: "com.bugsnag", module: "bugsnag-android-core"
|
2019-07-22 17:06:09 +00:00
|
|
|
}
|
2019-05-10 06:53:45 +00:00
|
|
|
|
2019-05-18 09:19:39 +00:00
|
|
|
// https://github.com/mangstadt/biweekly
|
2021-01-17 09:55:48 +00:00
|
|
|
// https://mvnrepository.com/artifact/net.sf.biweekly/biweekly
|
2019-05-18 09:19:39 +00:00
|
|
|
implementation("net.sf.biweekly:biweekly:$biweekly_version") {
|
|
|
|
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-core'
|
|
|
|
}
|
|
|
|
|
2019-07-17 10:21:17 +00:00
|
|
|
// https://github.com/KeepSafe/ReLinker
|
2021-05-04 18:42:24 +00:00
|
|
|
// https://mvnrepository.com/artifact/com.getkeepsafe.relinker/relinker
|
2019-07-17 10:21:17 +00:00
|
|
|
implementation "com.getkeepsafe.relinker:relinker:$relinker_version"
|
|
|
|
|
2019-07-23 12:02:19 +00:00
|
|
|
// https://github.com/noties/Markwon
|
2021-01-17 09:55:48 +00:00
|
|
|
// https://mvnrepository.com/artifact/io.noties.markwon/core
|
2019-07-23 12:02:19 +00:00
|
|
|
implementation "io.noties.markwon:core:$markwon_version"
|
2021-06-26 09:34:56 +00:00
|
|
|
implementation "io.noties.markwon:html:$markwon_version"
|
2019-07-23 12:02:19 +00:00
|
|
|
|
2019-10-06 18:09:19 +00:00
|
|
|
// // https://github.com/QuadFlask/colorpicker
|
2019-12-08 19:15:33 +00:00
|
|
|
implementation "com.github.QuadFlask:colorpicker:$colorpicker_version"
|
2019-10-20 16:25:21 +00:00
|
|
|
|
2020-07-21 12:48:07 +00:00
|
|
|
// https://github.com/EverythingMe/overscroll-decor
|
2021-06-01 05:36:01 +00:00
|
|
|
// https://search.maven.org/artifact/io.github.everythingme/overscroll-decor-android
|
2021-05-04 18:42:24 +00:00
|
|
|
implementation "io.github.everythingme:overscroll-decor-android:$overscroll_version"
|
2020-07-21 12:48:07 +00:00
|
|
|
|
2020-04-15 17:23:02 +00:00
|
|
|
// https://www.bouncycastle.org/latest_releases.html
|
2019-12-02 09:03:46 +00:00
|
|
|
// https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on
|
2019-12-03 16:26:05 +00:00
|
|
|
implementation "org.bouncycastle:bcpkix-jdk15to18:$bouncycastle_version"
|
2019-12-20 11:20:50 +00:00
|
|
|
|
|
|
|
// https://github.com/openid/AppAuth-Android
|
|
|
|
// https://mvnrepository.com/artifact/net.openid/appauth?repo=bt-openid
|
|
|
|
implementation "net.openid:appauth:$appauth_version"
|
2020-03-20 18:12:18 +00:00
|
|
|
|
|
|
|
// http://www.freeutils.net/source/jcharset/
|
2020-04-15 17:23:02 +00:00
|
|
|
// https://mvnrepository.com/artifact/net.freeutils/jcharset
|
2020-03-20 18:12:18 +00:00
|
|
|
implementation "net.freeutils:jcharset:$jcharset_version"
|
2020-10-17 19:05:37 +00:00
|
|
|
|
|
|
|
// https://poi.apache.org/components/hmef/index.html
|
|
|
|
// https://mvnrepository.com/artifact/org.apache.poi/poi-scratchpad
|
|
|
|
implementation "org.apache.poi:poi-scratchpad:$apache_poi"
|
2021-05-21 21:11:58 +00:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/org.reactivestreams/reactive-streams
|
|
|
|
// https://mvnrepository.com/artifact/io.reactivex.rxjava2/rxjava
|
|
|
|
implementation "org.reactivestreams:reactive-streams:$reactivestreams_version"
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:$rxjava2_version"
|
2018-08-02 13:33:06 +00:00
|
|
|
}
|