-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.gradle
62 lines (54 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.7.10'
ext.versionCode = 100
ext.versionName = "1.0.0"
ext.applicationId = "com.zest.android"
ext.testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
ext.junitVersion = "4.12"
ext.multidex_version = "1.0.3"
ext.retrofit_version = "2.9.0"
ext.picassoVersion = "2.5.2"
ext.debugDbVersion = "1.0.3"
ext.chipCloudLibVersion = "2.2.1"
ext.retrofitLibVersion = "2.4.0"
ext.room_version = "2.4.3"
ext.nav_version = "2.5.1"
ext.moshi_version = '1.9.2'
ext.converter_moshi_version = '2.4.0'
ext.mokito_kotlin_version = "1.5.0"
ext.rxkotlin_version = "3.0.0"
ext.rxjava_version = '3.0.4'
ext.rxandroid_version = '3.0.0'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.5.1"
}
}
allprojects {
repositories {
google()
mavenCentral()
flatDir {
dirs 'libs'
}
maven { url "https://jitpack.io" }
maven { url 'https://maven.google.com' }
maven { url "https://oss.jfrog.org/libs-snapshot" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
minSdkVersion = 19 // Support library and architecture components support minSdk 17 and above.
targetSdkVersion = 33
compileSdkVersion = 32
buildToolsVersion = '30'
}