-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (48 loc) · 1.79 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "$rootDir/buildsystem/variables.gradle"
buildscript {
apply from: "$rootDir/buildsystem/variables.gradle"
repositories {
google()
mavenCentral()
maven {
// URL for detekt-gradle-plugin
url "https://plugins.gradle.org/m2/"
}
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:7.1.2"
// Plugins for static analysis tools
// https://github.com/GradleUp/static-analysis-plugin/
classpath "com.gradleup:static-analysis-plugin:1.4"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.12.0"
// Crashlytics via Firebase
// google-services plugin
classpath "com.google.gms:google-services:4.3.10"
// Add the Crashlytics Gradle plugin.
classpath "com.google.firebase:firebase-crashlytics-gradle:2.8.1"
// Including Open Source Notices
// https://developers.google.com/android/guides/opensource
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.5'
// Add the App Distribution Gradle plugin
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.1'
// For publishing application to store
classpath 'com.github.triplet.gradle:play-publisher:2.8.0'
// Kotlin plugins
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply from: "$rootDir/buildsystem/tasks.gradle"
allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://maven.google.com" // Google's Maven repository
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}