summaryrefslogtreecommitdiff
path: root/dependencies.gradle
blob: 352958effcba72753faf5191f87cf79e8b4ee08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
/*
 * Copyright (C) 2022 E FOUNDATION
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

def libs = [:]
ext.Libs = libs

def versions = [
        ktlint: "0.40.0",
]
ext.Versions = versions

libs.androidGradlePlugin = "com.android.tools.build:gradle:7.2.1"

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.6.10"
libs.Kotlin = [
        stdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin",
        gradlePlugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
]



versions.coroutines = "1.6.1"
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.8.0",
        coreKtxAPI29: "androidx.core:core-ktx:1.6.0",
        appCompat: 'androidx.appcompat:appcompat:1.4.2',
        work: 'androidx.work:work-runtime-ktx:2.7.1',
]

versions.fragment = "1.5.0"
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.5.0"
libs.AndroidX.Lifecycle = [
        runtime: "androidx.lifecycle:lifecycle-runtime-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",
]

libs.material = 'com.google.android.material:material:1.6.1'

libs.Retrofit = [
    retrofit: 'com.squareup.retrofit2:retrofit:2.9.0',
    scalars: 'com.squareup.retrofit2:converter-scalars:2.9.0'
]


versions.mapbox="9.6.1"
libs.MapBox = [
    sdk: "com.mapbox.mapboxsdk:mapbox-android-sdk:$versions.mapbox"
]

libs.mpAndroidCharts = 'com.github.PhilJay:MPAndroidChart:v3.1.0'

libs.telemetry = 'foundation.e.lib:telemetry:0.0.3-alpha'