2021-09-15 11:28:58 +02:00
|
|
|
ext.versions = [
|
|
|
|
|
|
|
|
'minSdk' : 21,
|
2021-11-08 15:36:17 +01:00
|
|
|
'compileSdk' : 31,
|
|
|
|
'targetSdk' : 31,
|
2021-09-15 11:28:58 +02:00
|
|
|
'sourceCompat' : JavaVersion.VERSION_11,
|
|
|
|
'targetCompat' : JavaVersion.VERSION_11,
|
2021-09-17 13:58:44 +02:00
|
|
|
]
|
2021-09-15 11:28:58 +02:00
|
|
|
|
2021-10-12 01:05:08 +02:00
|
|
|
def gradle = "7.0.3"
|
2021-09-20 10:38:47 +02:00
|
|
|
// Ref: https://kotlinlang.org/releases.html
|
2021-09-23 14:24:53 +02:00
|
|
|
def kotlin = "1.5.31"
|
2021-09-23 15:49:54 +02:00
|
|
|
def kotlinCoroutines = "1.5.2"
|
2021-11-30 00:08:54 +01:00
|
|
|
def dagger = "2.40.3"
|
2021-09-17 13:58:44 +02:00
|
|
|
def retrofit = "2.9.0"
|
|
|
|
def arrow = "0.8.2"
|
|
|
|
def markwon = "4.6.2"
|
|
|
|
def moshi = "1.12.0"
|
2021-11-09 14:56:12 +01:00
|
|
|
def lifecycle = "2.4.0"
|
2021-10-27 12:13:49 +02:00
|
|
|
def flowBinding = "1.2.0"
|
2021-09-17 13:58:44 +02:00
|
|
|
def epoxy = "4.6.2"
|
2021-10-11 13:29:29 +02:00
|
|
|
def mavericks = "2.4.0"
|
2021-09-17 13:58:44 +02:00
|
|
|
def glide = "4.12.0"
|
|
|
|
def bigImageViewer = "1.8.1"
|
|
|
|
def jjwt = "0.11.2"
|
2021-09-28 11:31:21 +02:00
|
|
|
def vanniktechEmoji = "0.8.0"
|
2021-09-15 19:22:52 +02:00
|
|
|
|
2021-09-17 13:58:44 +02:00
|
|
|
// Testing
|
2021-11-17 00:08:15 +01:00
|
|
|
def mockk = "1.12.1"
|
2021-09-17 13:58:44 +02:00
|
|
|
def espresso = "3.4.0"
|
|
|
|
def androidxTest = "1.4.0"
|
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 : [
|
|
|
|
'coroutinesCore' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutines",
|
|
|
|
'coroutinesAndroid' : "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutines",
|
2021-10-26 18:09:07 +02:00
|
|
|
'coroutinesRx2' : "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:$kotlinCoroutines",
|
|
|
|
'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 : [
|
2021-11-18 00:08:48 +01:00
|
|
|
'appCompat' : "androidx.appcompat:appcompat:1.4.0",
|
2021-10-28 01:09:02 +02:00
|
|
|
'core' : "androidx.core:core-ktx:1.7.0",
|
2021-09-15 19:22:52 +02:00
|
|
|
'recyclerview' : "androidx.recyclerview:recyclerview:1.2.1",
|
|
|
|
'exifinterface' : "androidx.exifinterface:exifinterface:1.3.3",
|
2021-11-18 00:07:08 +01:00
|
|
|
'fragmentKtx' : "androidx.fragment:fragment-ktx:1.4.0",
|
2021-11-18 00:07:57 +01:00
|
|
|
'constraintLayout' : "androidx.constraintlayout:constraintlayout:2.1.2",
|
2021-11-18 00:07:14 +01:00
|
|
|
'work' : "androidx.work:work-runtime-ktx:2.7.1",
|
2021-09-15 19:22:52 +02:00
|
|
|
'autoFill' : "androidx.autofill:autofill:1.1.0",
|
2021-09-17 13:58:44 +02:00
|
|
|
'preferenceKtx' : "androidx.preference:preference-ktx:1.1.1",
|
|
|
|
'junit' : "androidx.test.ext:junit:1.1.3",
|
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",
|
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",
|
|
|
|
'coreTesting' : "androidx.arch.core:core-testing:2.1.0",
|
|
|
|
'testCore' : "androidx.test:core:$androidxTest",
|
2021-09-23 21:24:16 +02:00
|
|
|
'orchestrator' : "androidx.test:orchestrator:$androidxTest",
|
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",
|
|
|
|
'espressoIntents' : "androidx.test.espresso:espresso-intents:$espresso"
|
|
|
|
],
|
|
|
|
google : [
|
|
|
|
'material' : "com.google.android.material:material:1.4.0"
|
|
|
|
],
|
|
|
|
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",
|
|
|
|
'hiltCompiler' : "com.google.dagger:hilt-compiler:$dagger"
|
2021-09-17 13:58:44 +02:00
|
|
|
],
|
|
|
|
squareup : [
|
|
|
|
'moshi' : "com.squareup.moshi:moshi-adapters:$moshi",
|
|
|
|
'moshiKotlin' : "com.squareup.moshi:moshi-kotlin-codegen:$moshi",
|
|
|
|
'retrofit' : "com.squareup.retrofit2:retrofit:$retrofit",
|
|
|
|
'retrofitMoshi' : "com.squareup.retrofit2:converter-moshi:$retrofit"
|
|
|
|
],
|
|
|
|
rx : [
|
|
|
|
'rxKotlin' : "io.reactivex.rxjava2:rxkotlin:2.4.0",
|
|
|
|
'rxAndroid' : "io.reactivex.rxjava2:rxandroid:2.1.1"
|
|
|
|
],
|
|
|
|
arrow : [
|
|
|
|
'core' : "io.arrow-kt:arrow-core:$arrow",
|
|
|
|
'instances' : "io.arrow-kt:arrow-instances-core:$arrow"
|
|
|
|
],
|
|
|
|
markwon : [
|
|
|
|
'core' : "io.noties.markwon:core:$markwon",
|
|
|
|
'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
|
|
|
],
|
|
|
|
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 : [
|
2021-10-18 23:20:03 +02:00
|
|
|
'commonsImaging' : "org.apache.sanselan:sanselan:0.97-incubator"
|
|
|
|
],
|
2021-09-17 13:58:44 +02:00
|
|
|
tests : [
|
|
|
|
'kluent' : "org.amshove.kluent:kluent-android:1.68",
|
|
|
|
'timberJunitRule' : "net.lachlanmckee:timber-junit-rule:1.0.1",
|
2021-09-15 19:22:52 +02:00
|
|
|
'junit' : "junit:junit:4.13.2"
|
2021-09-15 11:28:58 +02:00
|
|
|
]
|
|
|
|
]
|