2021-09-15 11:28:58 +02:00
|
|
|
ext.versions = [
|
|
|
|
'minSdk' : 21,
|
2024-07-05 16:17:09 +02:00
|
|
|
'compileSdk' : 34,
|
|
|
|
'targetSdk' : 34,
|
2024-07-15 18:12:08 +02:00
|
|
|
'sourceCompat' : JavaVersion.VERSION_17,
|
|
|
|
'targetCompat' : JavaVersion.VERSION_17,
|
|
|
|
'jvmTarget' : "17",
|
2021-09-17 13:58:44 +02:00
|
|
|
]
|
2021-09-15 11:28:58 +02:00
|
|
|
|
2024-07-15 18:12:08 +02:00
|
|
|
def gradle = "8.4.2"
|
2021-09-20 10:38:47 +02:00
|
|
|
// Ref: https://kotlinlang.org/releases.html
|
2024-07-15 18:12:08 +02:00
|
|
|
def kotlin = "1.9.24"
|
|
|
|
def kotlinCoroutines = "1.8.1"
|
|
|
|
def dagger = "2.51.1"
|
|
|
|
def firebaseBom = "33.1.1"
|
2023-05-04 14:43:37 +02:00
|
|
|
def appDistribution = "16.0.0-beta08"
|
2024-07-15 18:12:08 +02:00
|
|
|
def retrofit = "2.11.0"
|
2021-09-17 13:58:44 +02:00
|
|
|
def markwon = "4.6.2"
|
2024-07-15 18:12:08 +02:00
|
|
|
def moshi = "1.15.1"
|
|
|
|
def lifecycle = "2.8.3"
|
2021-10-27 12:13:49 +02:00
|
|
|
def flowBinding = "1.2.0"
|
2024-07-19 12:35:47 +02:00
|
|
|
def flipper = "0.259.0"
|
2022-09-30 01:13:01 +02:00
|
|
|
def epoxy = "5.0.0"
|
2024-07-15 18:12:08 +02:00
|
|
|
def mavericks = "3.0.9"
|
|
|
|
def glide = "4.16.0"
|
2021-09-17 13:58:44 +02:00
|
|
|
def bigImageViewer = "1.8.1"
|
2022-05-09 15:22:30 +02:00
|
|
|
def jjwt = "0.11.5"
|
2023-03-27 12:18:03 +02:00
|
|
|
def vanniktechEmoji = "0.16.0"
|
2023-04-29 01:59:22 +02:00
|
|
|
def sentry = "6.18.1"
|
2024-07-15 18:12:08 +02:00
|
|
|
def fragment = "1.8.1"
|
2021-09-17 13:58:44 +02:00
|
|
|
// Testing
|
2024-07-15 18:12:08 +02:00
|
|
|
def mockk = "1.13.11"
|
|
|
|
def espresso = "3.6.1"
|
|
|
|
def androidxTest = "1.6.1"
|
|
|
|
def androidxOrchestrator = "1.5.0"
|
|
|
|
def paparazzi = "1.3.4"
|
2022-10-13 11:52:35 +02:00
|
|
|
|
2021-09-15 11:28:58 +02:00
|
|
|
ext.libs = [
|
2021-09-17 13:58:44 +02:00
|
|
|
gradle : [
|
|
|
|
'gradlePlugin' : "com.android.tools.build:gradle:$gradle",
|
2021-10-14 18:47:28 +02:00
|
|
|
'kotlinPlugin' : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin",
|
|
|
|
'hiltPlugin' : "com.google.dagger:hilt-android-gradle-plugin:$dagger"
|
2021-09-15 11:28:58 +02:00
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
jetbrains : [
|
2021-09-29 09:41:41 +02:00
|
|
|
'kotlinReflect' : "org.jetbrains.kotlin:kotlin-reflect:$kotlin",
|
2021-09-17 13:58:44 +02:00
|
|
|
'coroutinesCore' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutines",
|
|
|
|
'coroutinesAndroid' : "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutines",
|
2021-10-26 18:09:07 +02:00
|
|
|
'coroutinesTest' : "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinCoroutines"
|
2021-09-15 11:28:58 +02:00
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
androidx : [
|
2024-07-15 18:12:08 +02:00
|
|
|
'activity' : "androidx.activity:activity-ktx:1.9.0",
|
|
|
|
'appCompat' : "androidx.appcompat:appcompat:1.7.0",
|
2022-05-04 16:48:23 +02:00
|
|
|
'biometric' : "androidx.biometric:biometric:1.1.0",
|
2023-05-16 10:24:09 +02:00
|
|
|
'core' : "androidx.core:core-ktx:1.10.1",
|
2023-03-09 10:36:17 +01:00
|
|
|
'recyclerview' : "androidx.recyclerview:recyclerview:1.3.0",
|
2023-02-09 00:01:36 +01:00
|
|
|
'exifinterface' : "androidx.exifinterface:exifinterface:1.3.6",
|
2022-05-04 16:48:23 +02:00
|
|
|
'fragmentKtx' : "androidx.fragment:fragment-ktx:$fragment",
|
|
|
|
'fragmentTesting' : "androidx.fragment:fragment-testing:$fragment",
|
2023-01-11 12:03:41 +01:00
|
|
|
'fragmentTestingManifest' : "androidx.fragment:fragment-testing-manifest:$fragment",
|
2022-05-20 11:55:29 +02:00
|
|
|
'constraintLayout' : "androidx.constraintlayout:constraintlayout:2.1.4",
|
2023-03-23 00:57:17 +01:00
|
|
|
'work' : "androidx.work:work-runtime-ktx:2.8.1",
|
2021-09-15 19:22:52 +02:00
|
|
|
'autoFill' : "androidx.autofill:autofill:1.1.0",
|
2022-05-10 01:08:00 +02:00
|
|
|
'preferenceKtx' : "androidx.preference:preference-ktx:1.2.0",
|
2023-01-10 14:15:51 +01:00
|
|
|
'junit' : "androidx.test.ext:junit:1.1.5",
|
2021-11-09 16:39:43 +01:00
|
|
|
'lifecycleCommon' : "androidx.lifecycle:lifecycle-common:$lifecycle",
|
2021-11-09 14:56:12 +01:00
|
|
|
'lifecycleLivedata' : "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle",
|
2021-11-09 16:29:49 +01:00
|
|
|
'lifecycleProcess' : "androidx.lifecycle:lifecycle-process:$lifecycle",
|
2022-02-07 16:10:26 +01:00
|
|
|
'lifecycleRuntimeKtx' : "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle",
|
2021-09-20 16:54:39 +02:00
|
|
|
'datastore' : "androidx.datastore:datastore:1.0.0",
|
|
|
|
'datastorepreferences' : "androidx.datastore:datastore-preferences:1.0.0",
|
2021-09-17 13:58:44 +02:00
|
|
|
'pagingRuntimeKtx' : "androidx.paging:paging-runtime-ktx:2.1.2",
|
2023-02-23 00:16:01 +01:00
|
|
|
'coreTesting' : "androidx.arch.core:core-testing:2.2.0",
|
2021-09-17 13:58:44 +02:00
|
|
|
'testCore' : "androidx.test:core:$androidxTest",
|
2022-01-04 00:04:41 +01:00
|
|
|
'orchestrator' : "androidx.test:orchestrator:$androidxOrchestrator",
|
2021-09-17 13:58:44 +02:00
|
|
|
'testRunner' : "androidx.test:runner:$androidxTest",
|
|
|
|
'testRules' : "androidx.test:rules:$androidxTest",
|
|
|
|
'espressoCore' : "androidx.test.espresso:espresso-core:$espresso",
|
|
|
|
'espressoContrib' : "androidx.test.espresso:espresso-contrib:$espresso",
|
2022-04-17 11:09:10 +02:00
|
|
|
'espressoIntents' : "androidx.test.espresso:espresso-intents:$espresso",
|
2024-07-15 18:12:08 +02:00
|
|
|
'viewpager2' : "androidx.viewpager2:viewpager2:1.1.0",
|
|
|
|
'transition' : "androidx.transition:transition:1.5.0",
|
2021-09-17 13:58:44 +02:00
|
|
|
],
|
|
|
|
google : [
|
2024-07-15 18:12:08 +02:00
|
|
|
'material' : "com.google.android.material:material:1.12.0",
|
2023-01-04 15:54:23 +01:00
|
|
|
'firebaseBom' : "com.google.firebase:firebase-bom:$firebaseBom",
|
|
|
|
'messaging' : "com.google.firebase:firebase-messaging",
|
2022-09-17 10:17:51 +02:00
|
|
|
//'appdistributionApi' : "com.google.firebase:firebase-appdistribution-api-ktx:$appDistribution",
|
|
|
|
//'appdistribution' : "com.google.firebase:firebase-appdistribution:$appDistribution",
|
2022-08-08 11:21:34 +02:00
|
|
|
// Phone number https://github.com/google/libphonenumber
|
2023-05-02 15:49:40 +02:00
|
|
|
'phonenumber' : "com.googlecode.libphonenumber:libphonenumber:8.13.11"
|
2021-09-17 13:58:44 +02:00
|
|
|
],
|
|
|
|
dagger : [
|
|
|
|
'dagger' : "com.google.dagger:dagger:$dagger",
|
2021-10-14 18:47:28 +02:00
|
|
|
'daggerCompiler' : "com.google.dagger:dagger-compiler:$dagger",
|
|
|
|
'hilt' : "com.google.dagger:hilt-android:$dagger",
|
2022-05-04 16:48:23 +02:00
|
|
|
'hiltAndroidTesting' : "com.google.dagger:hilt-android-testing:$dagger",
|
2021-10-14 18:47:28 +02:00
|
|
|
'hiltCompiler' : "com.google.dagger:hilt-compiler:$dagger"
|
2021-09-17 13:58:44 +02:00
|
|
|
],
|
2022-06-28 14:27:40 +02:00
|
|
|
flipper : [
|
|
|
|
'flipper' : "com.facebook.flipper:flipper:$flipper",
|
|
|
|
'flipperNetworkPlugin' : "com.facebook.flipper:flipper-network-plugin:$flipper",
|
|
|
|
],
|
2022-07-06 17:54:29 +02:00
|
|
|
element : [
|
2022-09-23 16:26:49 +02:00
|
|
|
'opusencoder' : "io.element.android:opusencoder:1.1.0",
|
2024-06-26 01:05:42 +02:00
|
|
|
'wysiwyg' : "io.element.android:wysiwyg:2.37.4"
|
2022-07-06 17:54:29 +02:00
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
squareup : [
|
2022-04-15 22:50:54 +02:00
|
|
|
'moshi' : "com.squareup.moshi:moshi:$moshi",
|
2021-09-29 09:41:41 +02:00
|
|
|
'moshiKt' : "com.squareup.moshi:moshi-kotlin:$moshi",
|
2021-09-17 13:58:44 +02:00
|
|
|
'moshiKotlin' : "com.squareup.moshi:moshi-kotlin-codegen:$moshi",
|
2022-08-05 09:52:12 +02:00
|
|
|
'moshiAdapters' : "com.squareup.moshi:moshi-adapters:$moshi",
|
2022-10-13 11:52:35 +02:00
|
|
|
'paparazzi' : "app.cash.paparazzi:paparazzi:$paparazzi",
|
|
|
|
'paparazziPlugin' : "app.cash.paparazzi:paparazzi-gradle-plugin:$paparazzi",
|
2021-09-17 13:58:44 +02:00
|
|
|
'retrofit' : "com.squareup.retrofit2:retrofit:$retrofit",
|
|
|
|
'retrofitMoshi' : "com.squareup.retrofit2:converter-moshi:$retrofit"
|
|
|
|
],
|
|
|
|
rx : [
|
2022-01-13 17:53:26 +01:00
|
|
|
'rxKotlin' : "io.reactivex.rxjava2:rxkotlin:2.4.0"
|
2021-09-17 13:58:44 +02:00
|
|
|
],
|
|
|
|
markwon : [
|
|
|
|
'core' : "io.noties.markwon:core:$markwon",
|
2020-09-18 16:22:10 +02:00
|
|
|
'extLatex' : "io.noties.markwon:ext-latex:$markwon",
|
2022-04-28 16:53:19 +02:00
|
|
|
'imageGlide' : "io.noties.markwon:image-glide:$markwon",
|
2020-09-18 16:22:10 +02:00
|
|
|
'inlineParser' : "io.noties.markwon:inline-parser:$markwon",
|
2021-09-17 13:58:44 +02:00
|
|
|
'html' : "io.noties.markwon:html:$markwon"
|
|
|
|
],
|
|
|
|
airbnb : [
|
|
|
|
'epoxy' : "com.airbnb.android:epoxy:$epoxy",
|
|
|
|
'epoxyGlide' : "com.airbnb.android:epoxy-glide-preloading:$epoxy",
|
|
|
|
'epoxyProcessor' : "com.airbnb.android:epoxy-processor:$epoxy",
|
|
|
|
'epoxyPaging' : "com.airbnb.android:epoxy-paging:$epoxy",
|
2021-09-30 19:52:37 +02:00
|
|
|
'mavericks' : "com.airbnb.android:mavericks:$mavericks",
|
2021-10-12 13:47:32 +02:00
|
|
|
'mavericksTesting' : "com.airbnb.android:mavericks-testing:$mavericks"
|
2021-09-17 13:58:44 +02:00
|
|
|
],
|
2022-05-24 10:34:37 +02:00
|
|
|
maplibre : [
|
2023-02-25 01:00:01 +01:00
|
|
|
'androidSdk' : "org.maplibre.gl:android-sdk:10.0.2",
|
2022-05-24 10:34:37 +02:00
|
|
|
'pluginAnnotation' : "org.maplibre.gl:android-plugin-annotation-v9:1.0.0"
|
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
mockk : [
|
|
|
|
'mockk' : "io.mockk:mockk:$mockk",
|
|
|
|
'mockkAndroid' : "io.mockk:mockk-android:$mockk"
|
2021-09-15 11:28:58 +02:00
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
github : [
|
|
|
|
'glide' : "com.github.bumptech.glide:glide:$glide",
|
|
|
|
'glideCompiler' : "com.github.bumptech.glide:compiler:$glide",
|
|
|
|
'bigImageViewer' : "com.github.piasy:BigImageViewer:$bigImageViewer",
|
|
|
|
'glideImageLoader' : "com.github.piasy:GlideImageLoader:$bigImageViewer",
|
|
|
|
'progressPieIndicator' : "com.github.piasy:ProgressPieIndicator:$bigImageViewer",
|
2021-10-27 12:13:49 +02:00
|
|
|
'glideImageViewFactory' : "com.github.piasy:GlideImageViewFactory:$bigImageViewer",
|
|
|
|
'flowBinding' : "io.github.reactivecircus.flowbinding:flowbinding-android:$flowBinding",
|
|
|
|
'flowBindingAppcompat' : "io.github.reactivecircus.flowbinding:flowbinding-appcompat:$flowBinding",
|
|
|
|
'flowBindingMaterial' : "io.github.reactivecircus.flowbinding:flowbinding-material:$flowBinding"
|
2021-09-15 11:28:58 +02:00
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
jakewharton : [
|
2021-10-27 12:13:49 +02:00
|
|
|
'timber' : "com.jakewharton.timber:timber:5.0.1"
|
2021-09-15 11:28:58 +02:00
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
jsonwebtoken: [
|
|
|
|
'jjwtApi' : "io.jsonwebtoken:jjwt-api:$jjwt",
|
|
|
|
'jjwtImpl' : "io.jsonwebtoken:jjwt-impl:$jjwt",
|
|
|
|
'jjwtOrgjson' : "io.jsonwebtoken:jjwt-orgjson:$jjwt"
|
2021-09-15 19:22:52 +02:00
|
|
|
],
|
2021-10-19 19:04:32 +02:00
|
|
|
vanniktech : [
|
2021-09-28 11:29:30 +02:00
|
|
|
'emojiMaterial' : "com.vanniktech:emoji-material:$vanniktechEmoji",
|
|
|
|
'emojiGoogle' : "com.vanniktech:emoji-google:$vanniktechEmoji"
|
|
|
|
],
|
2021-10-19 19:04:32 +02:00
|
|
|
apache : [
|
2022-10-26 12:32:27 +02:00
|
|
|
'commonsImaging' : "org.apache.commons:commons-imaging:1.0-alpha3"
|
2021-10-18 23:20:03 +02:00
|
|
|
],
|
2022-10-05 13:19:14 +02:00
|
|
|
sentry: [
|
|
|
|
'sentryAndroid' : "io.sentry:sentry-android:$sentry"
|
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
tests : [
|
2023-05-02 02:02:26 +02:00
|
|
|
'kluent' : "org.amshove.kluent:kluent-android:1.73",
|
2021-09-17 13:58:44 +02:00
|
|
|
'timberJunitRule' : "net.lachlanmckee:timber-junit-rule:1.0.1",
|
2022-08-03 00:30:14 +02:00
|
|
|
'junit' : "junit:junit:4.13.2",
|
2024-07-15 18:12:08 +02:00
|
|
|
'robolectric' : "org.robolectric:robolectric:4.13",
|
2021-09-15 11:28:58 +02:00
|
|
|
]
|
2021-09-29 09:41:41 +02:00
|
|
|
]
|
2022-05-04 16:48:23 +02:00
|
|
|
|
|
|
|
|