This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
build.gradle
55 lines (46 loc) · 1.55 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.commitCount = {
def stdOut = new ByteArrayOutputStream()
exec {
commandLine "git", "rev-list", "--count", "HEAD"
standardOutput = stdOut
}
return Integer.valueOf(stdOut.toString().trim())
}
ext {
compileSdkVersion = 31
minSdkVersion = 23
targetSdkVersion = 31
final VERSION_MAJOR = 2
final VERSION_MINOR = 3
versionName = "${VERSION_MAJOR}.${VERSION_MINOR}.${commitCount()}"
}
repositories {
google()
jcenter()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31"
classpath 'com.google.gms:google-services:4.3.10'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5"
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.12"
classpath "com.google.dagger:hilt-android-gradle-plugin:2.37"
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://dl.bintray.com/amulyakhare/maven' }
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}