-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
108 lines (88 loc) · 3.81 KB
/
build.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
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.0'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.0"
// Add the Crashlytics Gradle plugin.
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
}
}
allprojects {
repositories {
google()
jcenter()
}
ext {
compileSdkVersion = 29
minSdkVersion = 23
targetSdkVersion = 29
// Android
appCompat = 'androidx.appcompat:appcompat:1.1.0'
// Kotlin
kotlinStdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
kotlinCore = 'androidx.core:core-ktx:1.2.0'
kotlinCoroutines = 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
// Views
swipeRefresh = "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
material = 'com.google.android.material:material:1.1.0'
constraintLayout = 'androidx.constraintlayout:constraintlayout:1.1.3'
// Navigation
navigationFragment = 'androidx.navigation:navigation-fragment:2.2.1'
navigationUi = 'androidx.navigation:navigation-ui:2.2.1'
lifecycle = 'androidx.lifecycle:lifecycle-extensions:2.2.0'
navigationFragmentKotlin = 'androidx.navigation:navigation-fragment-ktx:2.2.1'
navigationUiKotlin = 'androidx.navigation:navigation-ui-ktx:2.2.1'
// Jsoup
jsoup = 'org.jsoup:jsoup:1.12.1'
// Gson
gson = 'com.google.code.gson:gson:2.8.6'
// Tests
junit = 'junit:junit:4.12'
androidJunit = 'androidx.test.ext:junit:1.1.1'
androidEspresso = 'androidx.test.espresso:espresso-core:3.2.0'
// Room
def room_version = "2.2.4"
roomRuntime = "androidx.room:room-runtime:$room_version"
roomCompiler = "androidx.room:room-compiler:$room_version"
roomPersistenceCompiler = "android.arch.persistence.room:compiler:$room_version"
roomKotlin = "androidx.room:room-ktx:$room_version"
roomTesting = "androidx.room:room-testing:$room_version"
// Flipper
flipper = 'com.facebook.flipper:flipper:0.30.2'
soloader = 'com.facebook.soloader:soloader:0.8.0'
flipperNetworkPlugin = 'com.facebook.flipper:flipper-network-plugin:0.30.2'
// Koin
def koin_version = '2.2.0-alpha-1'
koin = "org.koin:koin-androidx-scope:$koin_version"
koinViewmodel = "org.koin:koin-androidx-viewmodel:$koin_version"
koinExt = "org.koin:koin-androidx-ext:$koin_version"
koinFragment = "org.koin:koin-androidx-fragment:$koin_version"
// Joda time
jodaTime = 'joda-time:joda-time:2.10.4'
// Glide
glide = 'com.github.bumptech.glide:glide:4.11.0'
glideCompiler = 'com.github.bumptech.glide:compiler:4.11.0'
// Settings
androidPreferences = "androidx.preference:preference:1.1.0"
// About page
aboutPage = 'com.github.medyo:android-about-page:1.2.5'
// Bubble views
bubbleView = 'com.github.lguipeng:BubbleView:1.0.1'
// Firebase
firebaseBoM = 'com.google.firebase:firebase-bom:26.2.0'
firebaseCrashlytics = 'com.google.firebase:firebase-crashlytics-ktx'
firebaseAnalytics = 'com.google.firebase:firebase-analytics-ktx'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}