-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathversions.gradle
More file actions
159 lines (126 loc) · 8.29 KB
/
versions.gradle
File metadata and controls
159 lines (126 loc) · 8.29 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
// Library version numbers that should be consistent across all modules.
// NOTE: gradle sync after modifying this file!!!
ext {
// Bump compile SDK version any time a new SDK is released, it does not affect behavior
COMPILE_SDK_VERSION = 35 // https://developer.android.com/studio/releases/platforms
// Oldest supported Clover device is goldleaf (original Station) which is Android API level 17
MIN_SDK_VERSION = 17
// Target version affects behavior, bump only with good reason and test all devices carefully
TARGET_SDK_VERSION = 17
// Build tool versions
JACOCO_VERSION = "0.8.10" // https://github.com/jacoco/jacoco
SONARQUBE_VERSION = "4.4.1.3373" // https://github.com/SonarSource/sonar-scanner-gradle
ANDROID_PLUGIN_VERSION = "8.7.2" // https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
DETEKT_VERSION = "1.23.0" // https://github.com/detekt/detekt
// Android X versions
//
// Please try to keep this list short, the reality is there are probably 100+ androidx libraries
// but many are included via transitive dependencies so there is no need to specify each and
// every one.
//
// see https://developer.android.com/jetpack/androidx/versions/
// see https://maven.google.com/web/index.html
ANDROIDX_ACTIVITY_VERSION = "1.8.1" //1.8.1 is the latest version compatible with Android API 17, https://developer.android.com/jetpack/androidx/releases/activity
ANDROIDX_ANNOTATION_VERSION = "1.9.0" // https://developer.android.com/jetpack/androidx/releases/annotation
ANDROIDX_APPCOMPAT_VERSION = "1.6.1" // 1.6.1 is the latest version compatible with Android API 17 https://developer.android.com/jetpack/androidx/releases/appcompat
ANDROIDX_LIFECYCLE_EXTENSION_VERSION = "2.2.0" //https://androidx.tech/artifacts/lifecycle/lifecycle-extensions/
ANDROID_LIFECYCLE_EXTENSION_VERSION = "2.2.0" // ** DEPRECATED USE ANDROIDX_LIFECYCLE_EXTENSION_VERSION **
ANDROIDX_CARDVIEW_VERSION = "1.0.0" // https://developer.android.com/jetpack/androidx/releases/cardview
ANDROIDX_CONSTRAINTLAYOUT_VERSION = "2.1.4" // https://developer.android.com/jetpack/androidx/releases/constraintlayout
ANDROIDX_CORE_VERSION = "1.12.0" //1.12.0 is the latest version compatible with Android API 17 https://developer.android.com/jetpack/androidx/releases/core
ANDROIDX_FRAGMENT_VERSION = "1.6.2" // 1.6.2 is the latest version compatible with Android API 17 https://developer.android.com/jetpack/androidx/releases/fragment
ANDROIDX_RECYCLERVIEW_VERSION = "1.3.2" // https://developer.android.com/jetpack/androidx/releases/recyclerview
ANDROIDX_ROOM_VERSION = "2.6.1" // https://developer.android.com/jetpack/androidx/releases/room
ANDROIDX_VIEWPAGER_VERSION = "1.0.0" // https://developer.android.com/jetpack/androidx/releases/viewpager
ANDROIDX_MULTIDEX_VERSION = "2.0.1" // https://developer.android.com/studio/build/multidex
ANDROIDX_LEGACY_SUPPORT_V4_VERSION = "1.0.0" // androidx.legacy:legacy-support-v4
ANDROIDX_LEGACY_SUPPORT_V13_VERSION = "1.0.0" // androidx.legacy:legacy-support-v13
ANDROIDX_LIFECYCLE_VERSION = "2.6.2" // 2.6.2 is the latest version compatible with Android API 17 https://developer.android.com/jetpack/androidx/releases/lifecycle
ANDROIDX_WORK_VERSION = "2.9.1" // https://developer.android.com/jetpack/androidx/releases/work
ANDROIDX_PREFERENCE = "1.2.1" // https://developer.android.com/jetpack/androidx/releases/preference
ANDROIDX_LOCAL_BROADCASTMANAGER_VERSION = "1.1.0" //https://developer.android.com/jetpack/androidx/releases/localbroadcastmanager
ANDROIDX_NAVIGATION_VERSION = "2.7.7" // 2.7.7 is the latest version compatible with Android API 17 https://developer.android.com/jetpack/androidx/releases/navigation
// Android X testing versions
ANDROIDX_ARCH_CORE_VERSION = "2.2.0" // androidx.arch.core:core-testing
ANDROIDX_EXT_JUNIT_VERSION = "1.1.5" // 1.1.5 is the latest version compatible with Android API 17, androidx.test.ext:junit (https://developer.android.com/jetpack/androidx/releases/test)
ANDROIDX_ESPRESSO_VERSION = "3.5.1" // androidx.test.espresso:espresso-intents (https://developer.android.com/training/testing/espresso/intents)
ANDROIDX_UIAUTOMATOR_VERSION = "2.2.0" // androidx.uiautomator:uiautomator
ANDROIDX_TEST_CORE_VERSION = "1.5.0" // androidx.test:core
ANDROIDX_DATA_STORE = "1.0.0" // androidx.datastore:datastore
// Kotlin versions
KOTLIN_VERSION = "2.0.21" // org.jetbrains.kotlin:kotlin-gradle-plugin
KOTLIN_COROUTINES_VERSION = "1.7.3" // org.jetbrains.kotlinx:kotlinx-coroutines-android
KOTLIN_SERIALIZATION_JSON = "1.7.3" // org.jetbrains.kotlinx:kotlinx-serialization-json
KOTLINX_IMMUTABLES = "0.3.8" // org.jetbrains.kotlinx:kotlinx-collections-immutable
KSP_VERSION = "2.0.21-1.0.26" //https://github.com/google/ksp/releases
// Various dependencies
GOOGLE_ANDROID_MATERIAL_VERSION = "1.10.0" // 1.10.0 is the latest version compatible with Android API 17. com.google.android.material:material
DAGGER_VERSION = "2.52" // https://github.com/google/dagger/releases
GUAVA_VERSION = "32.1.2-android" // https://github.com/google/guava
BUTTER_KNIFE_VERSION = "10.2.3" // Project reached end of life, migrate to alternatives
RX_JAVA_VERSION = "2.2.21" // https://github.com/ReactiveX/RxJava/releases End of Life and last to be compatible > 21
RX_ANDROID_VERSION = "2.1.1" // https://github.com/ReactiveX/RxAndroid End of Life and last to be compatible > 21
GREEN_ROBOT_EVENT_BUS_VERSION = "3.3.1" // https://github.com/greenrobot/EventBus
GSON_VERSION = "2.9.1" // 2.9.1 is the latest version compatible with Android API 17. https://github.com/google/gson
ADVANCED_RECYCLER_VIEW_VERSION = "1.0.0" // com.h6ah4i.android.widget.advrecyclerview:advrecyclerview
// Jackson versions
// 2.7 is the latest version compatible with Android API 17 https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.8#changes-compatibility
JACKSON_VERSION = "2.7.9" // com.fasterxml.jackson.core:jackson-core
// com.fasterxml.jackson.core:jackson-annotations
JACKSON_DATABIND_VERSION = "2.7.9.7" // com.fasterxml.jackson.core:jackson-databind
// Nemesis versions
PICASSO_VERSION = "2.8"
RETROFIT_VERSION = "2.6.2"
RETROFIT_ADAPTER_VERSION = "2.6.2"
OKHTTP_VERSION = "3.12.13" // 3.12.x is the latest version compatible with Android API 17 to 20 https://developer.squareup.com/blog/okhttp-3-13-requires-android-5/
GLIDE_VERSION = "4.16.0"
// Test versions
JUNIT_VERSION = "4.13.2"
MOCKITO_VERSION = "4.4.0"
HAMCREST_VERSION = "1.3"
HAMCREST_2_VERSION = "2.2" // Use org.hamcrest:hamcrest:<version> instead of org.hamcrest:hamcrest-all:<version>
ROBOLECTRIC_VERSION = "4.10.3" // https://github.com/robolectric/robolectric/releases
JAVAX_INJECT_VERSION = "1"
J_MOCK_VERSION = "2.12.0"
EQUALSVERIFIER_VERSION = "3.15.2"
// https://mockk.io/
MOCKK_VERSION = "1.10.2"
// https://mvnrepository.com/artifact/com.nhaarman.mockitokotlin2/mockito-kotlin
KOTLIN_MOCKITO_VERSION = "2.2.0"
// https://mvnrepository.com/artifact/org.mockito.kotlin/mockito-kotlin
// Don't confuse with KOTLIN_MOCKITO_VERSION!
MOCKITO_KOTLIN_VERSION = "4.1.0"
// https://kotest.io/
KOTEST_ASSERTIONS_VERSION = "5.9.1"
// Android platform libraries
HTTP_LIBRARY = 'org.apache.http.legacy' // Legacy, should not be used going forward, migrate to OkHttp (see android-common)
// Firebase versions
FIREBASE_CRASHLYTICS_SDK_VERSION = "17.2.2"
FIREBASE_PLUGIN_VERSION = "2.9.5"
// Hilt version
HILT_VERSION = "2.52"
// Calc version
CALC_VERSION = "3.1.2"
// Heap Analytics versions
HEAP_LIBRARY_VERSION = "0.4.0"
HEAP_PLUGIN_VERSION = "0.3.0"
// Rapid Deposit version
ANDROID_RAPID_DEPOSIT_VERSION = "2.0.1"
// Java 8+ API desugaring support
// https://developer.android.com/studio/write/java8-support
CORE_LIBRARY_DESUGARING_VERSION = "2.0.4"
// Core and compiler
CONTENTFUL_VERSION = "3.0.1"
// Bouncy Castle
BOUNCY_CASTLE_BCPROV_JDK15_TO_8_VERSION = "1.77"
// Markwon
// https://github.com/noties/Markwon
MARKWON_VERSION = "4.4.0"
// Apache commons-io
// https://commons.apache.org/proper/commons-io/
APACHE_COMMONS_IO_VERSION = "2.16.1"
// Compose Version
COMPOSE_VERSION = "1.7.2"
COMPOSE_MATERIAL_VERSION = "1.3.0"
COMPOSE_COMPILER_VERSION = "1.5.3" // For compatibility with KOTLIN_VERSION https://developer.android.com/jetpack/androidx/releases/compose-kotlin
}