-
Notifications
You must be signed in to change notification settings - Fork 26
/
dependencies.gradle
59 lines (49 loc) · 2.67 KB
/
dependencies.gradle
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
def androidbuild = [:]
// Android build stuff
androidbuild.minSdkVersion = 23
androidbuild.targetSdkVersion = 29
androidbuild.compileSdkVersion = 29
androidbuild.testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
ext.androidbuild = androidbuild
ext.deps = [:]
def deps = [:]
def versions = [:]
versions.plugin_build_tools = '4.1.1'
versions.kotlin = '1.4.21'
versions.kotlinx_coroutines = '1.4.1'
versions.plugin_androidx_navigation_safe_args = '2.2.0-rc03'
versions.plugin_dokka = '0.10.1'
versions.android_ktx = '1.3.2'
versions.androidx_lifecycle = '2.2.0'
ext.versions = versions
def plugins = [:]
plugins.android_build_tools = "com.android.tools.build:gradle:$versions.plugin_build_tools"
plugins.maven_publish = "com.vanniktech:gradle-maven-publish-plugin:0.13.0"
plugins.google_services = "com.google.gms:google-services:$versions.plugin_google_services"
plugins.firebase = "com.google.firebase:firebase-plugins:$versions.plugin_firebase"
plugins.fabric = "io.fabric.tools:gradle:$versions.plugin_fabric"
plugins.kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
plugins.androidx_navigation_safe_args = "androidx.navigation:navigation-safe-args-gradle-plugin:$versions.plugin_androidx_navigation_safe_args"
plugins.versions = "com.github.ben-manes:gradle-versions-plugin:0.17.0"
plugins.dokka = "org.jetbrains.dokka:dokka-gradle-plugin:$versions.plugin_dokka"
deps.plugins = plugins
def jetpack = [:]
jetpack.activity = "androidx.activity:activity-ktx:1.2.0-rc01"
jetpack.appcompat = "androidx.appcompat:appcompat:1.2.0"
jetpack.corektx = "androidx.core:core-ktx:$versions.android_ktx"
jetpack.constraintlayout = "androidx.constraintlayout:constraintlayout:2.0.0-beta3"
jetpack.fragment = "androidx.fragment:fragment-ktx:1.3.0-rc01"
jetpack.material = "com.google.android.material:material:1.2.0"
jetpack.lifecycle_extensions = "androidx.lifecycle:lifecycle-extensions:$versions.androidx_lifecycle"
jetpack.localbroadcast = "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
jetpack.lifecycle_viewmodel_ktx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$versions.androidx_lifecycle"
jetpack.lifecycle_livedata_ktx = "androidx.lifecycle:lifecycle-livedata-ktx:$versions.androidx_lifecycle"
deps.jetpack = jetpack
def kotlin = [:]
kotlin.stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin"
kotlin.coroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.kotlinx_coroutines"
kotlin.coroutinesAndroid = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.kotlinx_coroutines"
kotlin.reflect = "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin"
deps.kotlin = kotlin
deps.dexter = "com.karumi:dexter:6.2.2"
ext.deps = deps