forked from cortinico/kotlin-android-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dependencies.kt
41 lines (36 loc) · 1.38 KB
/
Dependencies.kt
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
object Sdk {
const val MIN_SDK_VERSION = 21
const val TARGET_SDK_VERSION = 29
const val COMPILE_SDK_VERSION = 29
}
object Versions {
const val ANDROIDX_TEST_EXT = "1.1.1"
const val ANDROIDX_TEST = "1.2.0"
const val APPCOMPAT = "1.1.0"
const val CONSTRAINT_LAYOUT = "1.1.3"
const val CORE_KTX = "1.2.0"
const val ESPRESSO_CORE = "3.2.0"
const val JUNIT = "4.13"
const val KTLINT = "0.36.0"
}
object BuildPluginsVersion {
const val AGP = "3.6.3"
const val DETEKT = "1.8.0"
const val KOTLIN = "1.3.72"
const val KTLINT = "9.2.1"
const val VERSIONS_PLUGIN = "0.28.0"
}
object SupportLibs {
const val ANDROIDX_APPCOMPAT = "androidx.appcompat:appcompat:${Versions.APPCOMPAT}"
const val ANDROIDX_CONSTRAINT_LAYOUT = "com.android.support.constraint:constraint-layout:${Versions.CONSTRAINT_LAYOUT}"
const val ANDROIDX_CORE_KTX = "androidx.core:core-ktx:${Versions.CORE_KTX}"
}
object TestingLib {
const val JUNIT = "junit:junit:${Versions.JUNIT}"
}
object AndroidTestingLib {
const val ANDROIDX_TEST_RULES = "androidx.test:rules:${Versions.ANDROIDX_TEST}"
const val ANDROIDX_TEST_RUNNER = "androidx.test:runner:${Versions.ANDROIDX_TEST}"
const val ANDROIDX_TEST_EXT_JUNIT = "androidx.test.ext:junit:${Versions.ANDROIDX_TEST_EXT}"
const val ESPRESSO_CORE = "androidx.test.espresso:espresso-core:${Versions.ESPRESSO_CORE}"
}