forked from jaredrummler/AndroidDeviceNames
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
62 lines (57 loc) · 2 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
buildscript {
// @formatter:off
ext.buildConfig = [
compileSdk : 29,
targetSdk : 29,
minSdk : 16,
buildTools : '29.0.2',
gradlePlugin : '3.5.3'
]
ext.versions = [
kotlin : '1.3.70',
androidx : '1.1.0',
material : '1.1.0',
gson : '2.8.6',
constraintlayout : '1.1.3',
sqlite : '3.20.1',
junit : '4.12',
mockito_kotlin : '2.0.0',
mockito_core : '2.23.4',
ktlint : '8.0.0'
]
ext.deps = [
androidx: [
annotations : "androidx.annotation:annotation:${versions.androidx}",
appCompat : "androidx.appcompat:appcompat:${versions.androidx}",
constraintLayout : "androidx.constraintlayout:constraintlayout:${versions.constraintlayout}",
preferences : "androidx.preference:preference:${versions.preference}"
],
kotlin: [
stdlib: [
jdk : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
]
],
gson : "com.google.code.gson:gson:${versions.gson}",
material : "com.google.android.material:material:${versions.material}",
sqlite : "org.xerial:sqlite-jdbc:${versions.sqlite}",
junit : "junit:junit:${versions.junit}",
mockito: [
core : "org.mockito:mockito-core:${versions.mockito_core}",
kotlin : "com.nhaarman.mockitokotlin2:mockito-kotlin:${versions.mockito_kotlin}"
]
]
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}
allprojects {
repositories {
google()
jcenter()
}
}