This repository has been archived by the owner on May 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
57 lines (50 loc) · 1.69 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = '1.2.60'
}
repositories {
google()
jcenter()
mavenCentral()
mavenLocal()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2"
classpath "com.frogermcs.androiddevmetrics:androiddevmetrics-plugin:0.6"
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.11.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.18.0'
// There is a problem with this plugin when using Gradle Plugin >= 3.0.0-alpha3
// https://jira.sonarsource.com/browse/SONARGRADL-41
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1"
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "1.0.0.RC6-4"
}
detekt {
profile("main") {
input = "$projectDir/app/src/main/kotlin"
config = "$projectDir/default-detekt-config.yml"
filters = ".*test.*,.*/resources/.*,.*/tmp/.*"
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://clojars.org/repo/" }
maven { url "https://maven.fabric.io/public" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: 'buildsystem/dependencies.gradle'
apply from: 'buildsystem/bitrise.gradle'
apply from: 'buildsystem/secrets.gradle'