2021-04-12 12:08:06 +00:00
|
|
|
# Centralized versions for dependencies that share versions
|
|
|
|
[versions]
|
2021-06-04 06:00:30 +00:00
|
|
|
androidx_activity = "1.3.0-beta01"
|
2021-06-13 10:06:45 +00:00
|
|
|
androidx_test = "1.4.0-beta02"
|
2021-06-04 06:00:30 +00:00
|
|
|
compose = "1.0.0-beta08"
|
|
|
|
composeSnapshot = "-"
|
2021-05-15 06:59:35 +00:00
|
|
|
coroutines = "1.5.0"
|
2021-06-13 10:06:45 +00:00
|
|
|
hilt = "2.37"
|
2021-05-25 09:45:26 +00:00
|
|
|
kotlin = "1.5.10"
|
2021-04-12 12:08:06 +00:00
|
|
|
lifecycle = "2.4.0-alpha01"
|
|
|
|
|
|
|
|
[libraries]
|
|
|
|
# buildSrc dependencies
|
2021-05-22 16:43:29 +00:00
|
|
|
androidGradlePlugin = "com.android.tools.build:gradle:4.2.1"
|
2021-04-16 11:36:04 +00:00
|
|
|
binaryCompatibilityValidator = "org.jetbrains.kotlinx:binary-compatibility-validator:0.5.0"
|
2021-05-06 06:53:53 +00:00
|
|
|
dokkaPlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.4.32"
|
2021-04-12 12:08:06 +00:00
|
|
|
downloadTaskPlugin = "de.undercouch:gradle-download-task:4.1.1"
|
2021-04-16 15:36:57 +00:00
|
|
|
hiltGradlePlugin = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "hilt" }
|
2021-04-12 12:08:06 +00:00
|
|
|
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
2021-05-07 10:17:25 +00:00
|
|
|
mavenPublishPlugin = "com.vanniktech:gradle-maven-publish-plugin:0.15.1"
|
2021-05-02 02:06:18 +00:00
|
|
|
okhttp = "com.squareup.okhttp3:okhttp:4.9.0"
|
2021-04-12 12:08:06 +00:00
|
|
|
semver4j = "com.vdurmont:semver4j:3.1.0"
|
2021-05-07 10:57:55 +00:00
|
|
|
spotlessGradlePlugin = "com.diffplug.spotless:spotless-plugin-gradle:5.12.4"
|
2021-04-12 12:08:06 +00:00
|
|
|
|
|
|
|
# Kotlin dependencies
|
|
|
|
kotlin-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
|
|
|
|
kotlin-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
|
|
|
|
|
|
# AndroidX dependencies
|
2021-06-04 06:00:30 +00:00
|
|
|
androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "androidx_activity" }
|
|
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx_activity" }
|
2021-05-12 10:41:32 +00:00
|
|
|
androidx-annotation = "androidx.annotation:annotation:1.2.0"
|
2021-06-04 06:00:30 +00:00
|
|
|
androidx-autofill = "androidx.autofill:autofill:1.2.0-alpha02"
|
2021-06-06 11:19:31 +00:00
|
|
|
# 1.4.x update blocked on https://issuetracker.google.com/issues/189559345
|
|
|
|
androidx-appcompat = "androidx.appcompat:appcompat:1.3.0"
|
2021-04-12 12:08:06 +00:00
|
|
|
androidx-biometricKtx = "androidx.biometric:biometric-ktx:1.2.0-alpha03"
|
2021-05-06 06:53:53 +00:00
|
|
|
androidx-constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.0-beta02"
|
2021-06-04 06:00:30 +00:00
|
|
|
androidx-core-ktx = "androidx.core:core-ktx:1.6.0-beta02"
|
2021-04-12 12:08:06 +00:00
|
|
|
androidx-documentfile = "androidx.documentfile:documentfile:1.0.1"
|
2021-06-04 06:00:30 +00:00
|
|
|
androidx-fragment-ktx = "androidx.fragment:fragment-ktx:1.4.0-alpha02"
|
2021-05-25 09:45:26 +00:00
|
|
|
androidx-hilt-compose = "androidx.hilt:hilt-navigation-compose:1.0.0-alpha02"
|
|
|
|
androidx-lifecycle-common = { module = "androidx.lifecycle:lifecycle-common-java8", version.ref="lifecycle" }
|
|
|
|
androidx-lifecycle-livedataKtx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref="lifecycle" }
|
|
|
|
androidx-lifecycle-viewmodelKtx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref="lifecycle" }
|
|
|
|
androidx-lifecycle-viewmodel-compose = "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha05"
|
2021-06-13 10:06:45 +00:00
|
|
|
androidx-material = "com.google.android.material:material:1.4.0-rc01"
|
2021-04-12 12:08:06 +00:00
|
|
|
androidx-preference = "androidx.preference:preference:1.1.1"
|
2021-06-04 06:00:30 +00:00
|
|
|
androidx-recyclerview = "androidx.recyclerview:recyclerview:1.2.1"
|
2021-05-08 19:23:22 +00:00
|
|
|
androidx-recyclerviewSelection = "androidx.recyclerview:recyclerview-selection:1.2.0-alpha01"
|
2021-04-12 12:08:06 +00:00
|
|
|
androidx-security = "androidx.security:security-crypto:1.1.0-alpha03"
|
|
|
|
androidx-swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"
|
|
|
|
|
2021-05-25 09:45:26 +00:00
|
|
|
# Compose dependencies
|
|
|
|
compose-animation = { module = "androidx.compose.animation:animation", version.ref = "compose" }
|
|
|
|
compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "compose" }
|
|
|
|
compose-foundation-core = { module = "androidx.compose.foundation:foundation", version.ref = "compose" }
|
|
|
|
compose-foundation-layout = { module = "androidx.compose.foundation:foundation-layout", version.ref = "compose" }
|
|
|
|
compose-material = { module = "androidx.compose.material:material", version.ref = "compose" }
|
|
|
|
compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose" }
|
|
|
|
compose-ui-core = { module = "androidx.compose.ui:ui", version.ref = "compose" }
|
|
|
|
compose-ui-test = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" }
|
|
|
|
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
|
|
|
|
compose-ui-util = { module = "androidx.compose.ui:ui-util", version.ref = "compose" }
|
|
|
|
compose-ui-viewbinding = { module = "androidx.compose.ui:ui-viewbinding", version.ref = "compose" }
|
|
|
|
|
|
|
|
|
2021-04-16 15:36:57 +00:00
|
|
|
# Dagger/Hilt dependencies
|
|
|
|
dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
|
|
|
|
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
|
|
|
|
dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt" }
|
|
|
|
|
|
|
|
# Desugaring
|
2021-05-28 16:00:53 +00:00
|
|
|
android-desugarJdkLibs = "com.android.tools:desugar_jdk_libs:1.1.5"
|
2021-04-16 15:36:57 +00:00
|
|
|
|
2021-04-12 12:08:06 +00:00
|
|
|
# First-party libraries
|
|
|
|
aps-sublimeFuzzy = "com.github.android-password-store:sublime-fuzzy:1.0.0"
|
2021-05-07 11:43:37 +00:00
|
|
|
aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embedded:4.2.0"
|
2021-04-12 12:08:06 +00:00
|
|
|
|
|
|
|
# Third-party dependencies
|
2021-06-13 10:06:45 +00:00
|
|
|
thirdparty-bouncycastle = "org.bouncycastle:bcprov-jdk15on:1.69"
|
2021-04-12 12:08:06 +00:00
|
|
|
thirdparty-commons_codec = "commons-codec:commons-codec:1.14"
|
|
|
|
thirdparty-eddsa = "net.i2p.crypto:eddsa:0.3.0"
|
|
|
|
thirdparty-fastscroll = "me.zhanghai.android.fastscroll:library:1.1.5"
|
|
|
|
thirdparty-jgit = "org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r"
|
2021-06-13 10:06:45 +00:00
|
|
|
thirdparty-kotlinResult = "com.michael-bull.kotlin-result:kotlin-result:1.1.12"
|
2021-04-12 12:08:06 +00:00
|
|
|
thirdparty-leakcanary = "com.squareup.leakcanary:leakcanary-android:2.7"
|
2021-05-06 06:53:53 +00:00
|
|
|
thirdparty-modernAndroidPrefs = "de.maxr1998:modernandroidpreferences:2.1.0"
|
2021-04-12 12:08:06 +00:00
|
|
|
thirdparty-plumber = "com.squareup.leakcanary:plumber-android:2.7"
|
|
|
|
thirdparty-sshj = "com.hierynomus:sshj:0.31.0"
|
2021-05-06 06:53:53 +00:00
|
|
|
thirdparty-sshauth = "com.github.open-keychain.open-keychain:sshauthentication-api:5.7.5"
|
2021-04-12 12:08:06 +00:00
|
|
|
thirdparty-timber = "com.jakewharton.timber:timber:4.7.1"
|
|
|
|
thirdparty-timberkt = "com.github.ajalt:timberkt:1.5.1"
|
|
|
|
thirdparty-whatthestack = "com.github.haroldadmin:WhatTheStack:0.3.0"
|
2021-05-28 16:00:53 +00:00
|
|
|
thirdparty-nonfree-googlePlayAuthApiPhone = "com.google.android.gms:play-services-auth-api-phone:17.5.1"
|
2021-04-12 12:08:06 +00:00
|
|
|
|
|
|
|
# Testing dependencies
|
|
|
|
testing-junit = "junit:junit:4.13.2"
|
|
|
|
testing-kotlintest-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
|
2021-06-04 06:00:30 +00:00
|
|
|
testing-robolectric = "org.robolectric:robolectric:4.6-alpha-2"
|
2021-05-17 08:49:02 +00:00
|
|
|
testing-sharedPrefsMock = "com.github.IvanShafran:shared-preferences-mock:1.0"
|
2021-04-12 12:08:06 +00:00
|
|
|
androidx-testing-rules = { module = "androidx.test:rules", version.ref="androidx_test" }
|
|
|
|
androidx-testing-runner = { module = "androidx.test:runner", version.ref="androidx_test" }
|
2021-04-16 15:36:57 +00:00
|
|
|
kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
|
2021-04-12 12:08:06 +00:00
|
|
|
|
|
|
|
# Bundles of dependencies usually used together so they can be included in one go
|
|
|
|
[bundles]
|
2021-05-25 09:45:26 +00:00
|
|
|
androidxLifecycle = ["androidx-lifecycle-common", "androidx-lifecycle-livedataKtx", "androidx-lifecycle-viewmodelKtx"]
|
2021-04-12 12:08:06 +00:00
|
|
|
testDependencies = ["testing-junit", "testing-kotlintest-junit"]
|
|
|
|
androidTestDependencies = ["androidx-testing-rules", "androidx-testing-runner"]
|