forked from covid19cz/erouska-android
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
78 lines (68 loc) · 2.32 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
73
74
75
76
77
78
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// KOTLIN_VERSION
ext.commitCount = {
def stdOut = new ByteArrayOutputStream()
exec {
commandLine "git", "rev-list", "--count", "HEAD"
standardOutput = stdOut
}
return Integer.valueOf(stdOut.toString().trim())
}
ext {
kotlinVersion = '1.3.70'
gradleVersion = '3.6.2'
compileSdkVersion = 29
minSdkVersion = 21
targetSdkVersion = 29
final VERSION_MAJOR = 1
final VERSION_MINOR = 0
versionName = "${VERSION_MAJOR}.${VERSION_MINOR}.${commitCount()}"
versions = [
nav : '2.3.0-alpha04',
lifecycle : "2.2.0",
appcompat : "1.2.0-alpha03",
material : "1.2.0-alpha05",
koin : "2.0.1",
coroutines : '1.1.1',
room : '2.2.5',
rxjava : '2.2.15',
rxandroid : '2.1.1',
super_csv : '2.4.0'
]
}
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.google.gms:google-services:4.3.3'
classpath 'io.fabric.tools:gradle:1.31.2'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$versions.nav"
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'http://dl.bintray.com/amulyakhare/maven' }
maven { url 'https://jitpack.io' }
maven {
url 'http://www.idescout.com/maven/repo/'
name 'IDEScout, Inc.'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}