summaryrefslogtreecommitdiff
path: root/dependencies.gradle
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-04-27 22:19:39 +0530
committerAmit Kumar <amitkma@e.email>2021-04-27 22:19:39 +0530
commit05fca2863a198db5d58fd55db6c5d7b67fd46e58 (patch)
tree952fa67f0f03adf081ecec55a9c1bc0a920df7d1 /dependencies.gradle
Initial setup
Diffstat (limited to 'dependencies.gradle')
-rw-r--r--dependencies.gradle84
1 files changed, 84 insertions, 0 deletions
diff --git a/dependencies.gradle b/dependencies.gradle
new file mode 100644
index 0000000..23d3f02
--- /dev/null
+++ b/dependencies.gradle
@@ -0,0 +1,84 @@
+def libs = [:]
+ext.Libs = libs
+
+def versions = [
+ ktlint: "0.40.0",
+]
+ext.Versions = versions
+
+libs.androidGradlePlugin = "com.android.tools.build:gradle:4.1.3"
+
+libs.timber = "com.jakewharton.timber:timber:4.7.1"
+
+
+libs.junit = "junit:junit:4.13.1"
+libs.robolectric = "org.robolectric:robolectric:4.5"
+libs.mockK = "io.mockk:mockk:1.10.5"
+
+libs.leakCanary = "com.squareup.leakcanary:leakcanary-android:2.6"
+
+libs.truth = "com.google.truth:truth:1.1"
+
+versions.kotlin = "1.4.32"
+libs.Kotlin = [
+ stdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin",
+ gradlePlugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
+]
+
+versions.coroutines = "1.4.2"
+libs.Coroutines = [
+ core: "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines",
+ android: "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines",
+ test: "org.jetbrains.kotlinx:kotlinx-coroutines-test:$versions.coroutines",
+]
+
+libs.AndroidX = [
+ collection: "androidx.collection:collection-ktx:1.1.0",
+ palette: "androidx.palette:palette:1.0.0",
+ archCoreTesting: "androidx.arch.core:core-testing:2.1.0",
+ coreKtx: "androidx.core:core-ktx:1.5.0-beta01",
+]
+
+versions.fragment = "1.3.0-rc02"
+libs.AndroidX.Fragment = [
+ fragment: "androidx.fragment:fragment:$versions.fragment",
+ fragmentKtx: "androidx.fragment:fragment-ktx:$versions.fragment",
+]
+
+versions.androidx_test = "1.3.0"
+libs.AndroidX.Test = [
+ core: "androidx.test:core:$versions.androidx_test",
+ rules: "androidx.test:rules:$versions.androidx_test",
+ junit: "androidx.test.ext:junit-ktx:1.1.2",
+ espresso: "androidx.test.espresso:espresso-core:3.3.0",
+]
+
+versions.lifecycle = "2.3.0-rc01"
+libs.AndroidX.Lifecycle = [
+ runtime: "androidx.lifecycle:lifecycle-runtime-ktx:$versions.lifecycle",
+ livedata: "androidx.lifecycle:lifecycle-livedata-ktx:$versions.lifecycle",
+ viewmodel: "androidx.lifecycle:lifecycle-viewmodel-ktx:$versions.lifecycle",
+]
+
+versions.room = "2.3.0"
+libs.AndroidX.Room = [
+ common: "androidx.room:room-common:$versions.room",
+ runtime: "androidx.room:room-runtime:$versions.room",
+ compiler: "androidx.room:room-compiler:$versions.room",
+ ktx: "androidx.room:room-ktx:$versions.room",
+ testing: "androidx.room:room-testing:$versions.room",
+]
+
+versions.androidxhilt = "1.0.0-beta01"
+libs.AndroidX.Hilt = [
+ work: "androidx.hilt:hilt-work:$versions.androidxhilt",
+ compiler: "androidx.hilt:hilt-compiler:$versions.androidxhilt",
+]
+
+versions.hilt = "2.35"
+libs.Hilt = [
+ library: "com.google.dagger:hilt-android:$versions.hilt",
+ compiler: "com.google.dagger:hilt-compiler:$versions.hilt",
+ testing: "com.google.dagger:hilt-android-testing:$versions.hilt",
+ gradlePlugin: "com.google.dagger:hilt-android-gradle-plugin:$versions.hilt",
+] \ No newline at end of file