-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
67 lines (55 loc) · 1.76 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.8.0'
ext.navigationVersion = "2.4.1"
repositories {
google()
maven { url "https://jcenter.bintray.com" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
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
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jcenter.bintray.com" }
maven { url 'https://jitpack.io' }
// CH Snapshot repo
// maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' }
// For running locally
// mavenLocal()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
// Sdk and tools
// Support library and architecture components support minSdk 14 and above.
minSdkVersion = 23
targetSdkVersion = 31
compileSdkVersion = 33
commonHealthVersion = '1.9.9'
appCompatVersion = '1.4.1'
androidXVersion = '1.7.0'
constraintLayoutVersion = '1.5.0'
archLifecycleVersion = '2.2.0-rc03'
materialVersion = '1.2.0-alpha03'
recyclerViewVersion = '1.2.1'
gsonVersion = '2.8.6'
roomVersion = '2.5.1'
coroutinesVersion = '1.5.2'
threetenabpVersion = '1.2.1'
tinkVersion = '1.6.1'
timberVersion = '4.7.1'
sqlcipherVersion = '4.5.1'
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}