-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
72 lines (64 loc) · 1.9 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
/*
* Created by Onkar Nene on 9/7/19 5:35 PM
*
* Copyright (c) 2019 Onkar Nene. All rights reserved.
*/
/** Top-level build script to be used by all modules. */
buildscript {
/** Incremental version number for major releases/updates like: Addition of new module or functionality which will add new workflow. */
def majorVersion = 1
/** Incremental version number for minor updates like: Interface changes or minor enhancements in existing modules. */
def minorVersion = 0
/** Incremental version number for patches or bug fixes. */
def patchVersion = 0
/** Defining versions in common place so it can be used by other modules. */
ext {
/** SDK and app versions. */
version_code = majorVersion * 1000 + minorVersion * 100 + patchVersion
version_name = "${majorVersion}.${minorVersion}.${patchVersion}"
compile_sdk_version = 28
min_sdk_version = 21
target_sdk_version = 28
/** Top-level and module-level dependency versions. */
kotlin_version = '1.3.41'
core_ktx_version = '1.0.2'
appcompat_version = '1.0.2'
junit_version = '4.12'
test_runner_version = '1.1.1'
espresso_core_version = '3.2.0'
constraint_layout_version = '1.1.3'
dagger_version = '2.23.2'
okhttp_version = '4.0.1'
coroutines_version = '1.3.0-M2'
anko_version='0.10.8'
mockito_version = '3.0.0'
roboelectric_version = '1.2.0'
anko_version = '0.10.8'
recycler_view_version = '1.0.0'
card_view_version = '1.0.0'
annotation_version = '1.1.0'
material_version = '1.0.0'
retrofit_version = '2.6.0'
gson_version = '2.8.5'
}
repositories {
mavenCentral()
google()
jcenter()
}
/** List of root-level dependencies. */
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0-beta05'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}