forked from quran/quran_android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
79 lines (70 loc) · 2.02 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
buildscript {
ext {
kotlinVersion = '1.6.10'
coroutinesVersion = '1.6.0'
daggerVersion = '2.41'
composeVersion = '1.1.0-rc01'
composeCompilerVersion = '1.1.0-rc02'
androidxMediaVersion = '1.5.0'
androidxAnnotationVersion = '1.3.0'
androidxFragmentVersion = '1.4.1'
androidxPreferencesVersion = '1.2.0'
androidxAppcompatVersion = '1.4.1'
androidxLocalBroadcastVersion = '1.1.0'
androidxSwipeRefreshVersion = '1.1.0'
androidxRecyclerViewVersion = '1.2.1'
androidxJunitExtVersion = '1.1.3'
supportSqliteVersion = '2.1.0'
workManagerVersion = '2.7.1'
materialComponentsVersion = '1.5.0'
coreKtxVersion = '1.7.0'
anvilVersion = '2.4.0'
moshiVersion = '1.13.0'
okhttpVersion = '4.9.3'
okioVersion = '3.0.0'
retrofitVersion = '2.9.0'
sqldelightVersion = '1.5.3'
// testing
junitVersion = '4.13.2'
truthVersion = '1.1.3'
espressoVersion = '3.4.0'
deps = [
android: [
build: [
minSdkVersion : 21,
targetSdkVersion : 30,
compileSdkVersion: 31
]
],
dagger: [
apt: "com.google.dagger:dagger-compiler:${daggerVersion}",
runtime: "com.google.dagger:dagger:${daggerVersion}"
]
]
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:7.1.3"
classpath "com.google.firebase:firebase-crashlytics-gradle:2.8.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "net.ltgt.gradle:gradle-errorprone-plugin:2.0.2"
classpath "com.google.gms:google-services:4.3.10"
classpath "com.squareup.sqldelight:gradle-plugin:$sqldelightVersion"
classpath "com.squareup.anvil:gradle-plugin:$anvilVersion"
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
allprojects {
repositories {
mavenCentral()
google()
}
}