-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
42 lines (37 loc) · 996 Bytes
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
def versions = [:]
versions.kotlin = '1.3.31'
versions.volley = '1.0.19'
// OkHtto
versions.regacyOkhttp = '2.7.0'
versions.okhttp = '3.5.0'
// Retrofit
versions.regacyRetrofit = '1.9.0'
versions.retrofit = '2.1.0'
// Ktor
versions.ktor = '1.2.1'
versions.coroutines = '1.2.1'
ext.versions = versions
repositories {
jcenter()
mavenCentral()
maven { url "https://kotlin.bintray.com/kotlinx" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url "https://kotlin.bintray.com/kotlinx" }
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}