This repository has been archived by the owner on Jun 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (55 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
63
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'dependencies.gradle'
buildscript {
ext {
kotlin_version = "1.4.30"
navigation_version = "2.3.0"
hilt_version = "2.29.1-alpha"
google_service_version = "4.3.4"
hugo_version = "1.2.1"
jfrog_bintray_version = "1.7"
dcendents_maven_version = "1.4.1"
sonar_version = "2.7.1"
jacoco_version = "0.8.6"
compileSdkVersion = 30
buildToolsVersion = "30.0.2"
minSdkVersion = 23
targetSdkVersion = 30
supportSdkVersion = "25.3.1"
versionCode = 1
versionName = "1.0"
}
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "com.google.gms:google-services:$google_service_version"
classpath "com.jakewharton.hugo:hugo-plugin:$hugo_version"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$jfrog_bintray_version"
classpath "com.github.dcendents:android-maven-gradle-plugin:$dcendents_maven_version"
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:$sonar_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply from: 'sonarqube.gradle'
apply from: 'jacoco.gradle'
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}