forked from clover/clover-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversions.gradle
More file actions
92 lines (75 loc) · 4.13 KB
/
Copy pathversions.gradle
File metadata and controls
92 lines (75 loc) · 4.13 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
// 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 = 29 // https://developer.android.com/studio/releases/platforms
// Oldest supported Clover device is goldleaf (original Station) which is 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
// 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_ANNOTATION_VERSION = "1.1.0" // androidx.annotation:annotation
ANDROIDX_APPCOMPAT_VERSION = "1.1.0" // androidx.appcompat:appcompat
ANDROIDX_LIFECYCLE_VERSION = "2.1.0" // androidx.lifecycle:lifecycle-extensions
ANDROIDX_CARDVIEW_VERSION = "1.0.0" // androidx.cardview:cardview
ANDROIDX_CONSTRAINTLAYOUT_VERSION = "1.1.3" // androidx.constraintlayout:constraintlayout
ANDROIDX_FRAGMENT_VERSION = "1.1.0" // androidx.fragment:fragment
ANDROIDX_RECYCLERVIEW_VERSION = "1.0.0" // androidx.recyclerview:recyclerview
ANDROIDX_ROOM_VERSION = "2.2.1" // androidx.room:room-runtime
// androidx.room:room-compiler
ANDROIDX_VIEWPAGER_VERSION = "1.0.0" // androidx.viewpager:viewpager
ANDROIDX_MULTIDEX_VERSION = "2.0.1" // androidx.multidex: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
// Android X testing versions
ANDROIDX_ARCH_CORE_VERSION = "2.1.0" // androidx.arch.core:core-testing
ANDROIDX_EXT_JUNIT_VERSION = "1.1.1" // androidx.test.ext:junit
ANDROIDX_ESPRESSO_VERSION = "3.2.0" // androidx.test.espresso:espresso-intents
ANDROIDX_UIAUTOMATOR_VERSION = "2.2.0" // androidx.uiautomator:uiautomator
ANDROIDX_TEST_CORE_VERSION = "1.2.0" // androidx.test:core
// Kotlin versions
KOTLIN_VERSION = "1.3.50" // org.jetbrains.kotlin:kotlin-gradle-plugin
KOTLIN_COROUTINES_VERSION = "1.3.2" // org.jetbrains.kotlinx:kotlinx-coroutines-android
// Various dependencies
GOOGLE_ANDROID_MATERIAL_VERSION = "1.0.0" // com.google.android.material:material
DAGGER_VERSION = "2.19"
CRASHLYTICS_VERSION = "2.7.0@aar"
GUAVA_VERSION = "23.2-android"
BUTTER_KNIFE_VERSION = "10.1.0" // Move to 10.2.0 when upgrading android gradle plugin to 3.3+
RX_JAVA_VERSION = "2.2.9"
RX_ANDROID_VERSION = "2.1.1"
GREEN_ROBOT_EVENT_BUS_VERSION = "3.0.0"
OPTIMIZELY_VERSION = "1.6.1"
EVERNOTE_JOB_VERSION = "1.2.2"
GSON_VERSION = "2.8.5"
JACKSON_VERSION = "2.7.9" // Latest version compatible with API 17 https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9#android
ADVANCED_RECYCLER_VIEW_VERSION = "1.0.0" // com.h6ah4i.android.widget.advrecyclerview:advrecyclerview
// Nemesis dependencies
PICASSO_VERSION = "2.5.2"
RETROFIT_VERSION = "2.4.0"
RETROFIT_ADAPTER_VERSION = "2.4.0"
OKHTTP_VERSION = "3.12.3" // 3.12.x is the latest version compatible with API 19 and earlier https://developer.squareup.com/blog/okhttp-3-13-requires-android-5/
GLIDE_VERSION = "4.10.0"
// Test dependencies
JUNIT_VERSION = "4.12"
MOCKITO_VERSION = "2.22.0" // Couldn't get 2.23+ working, it uses byte-buddy 1.9+ which fails during the build, perhaps we can increase this when we update the android gradle plugin to 3.3+?
HAMCREST_VERSION = "1.3"
ROBOLECTRIC_VERSION = "4.0.2" // https://github.com/robolectric/robolectric/releases
JAVAX_INJECT_VERSION = "1"
J_MOCK_VERSION = "2.6.0"
EQUALSVERIFIER_VERSION = "2.5.2"
MOCKK_VERSION = "1.9" // Like Mockito, but specially for Kotlin. See: https://mockk.io/
// Android Tool versions
SONARQUBE_VERSION = "2.6.1"
MAVEN_PLUGIN_VERSION = "2.1"
ANDROID_PLUGIN_VERSION = "3.2.1"
// Libraries
HTTP_LIBRARY = 'org.apache.http.legacy'
}