-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
61 lines (54 loc) · 2.1 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
buildscript {
// Top-level build file where you can add configuration options common to all sub-projects/modules.
ext {
minSdkVersion = 21
targetSdkVersion = 27
compileSdkVersion = 27
supportLibraryVersion = '27.0.2'
espressoVersion = '3.0.2-alpha1'
kotlin_version = '1.2.70'
}
repositories {
jcenter()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" } // For Spoon snapshot, until 2.0.0 is released
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-rc03'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'org.ow2.asm:asm:6.0' //workaround for a conflict between jacoco and fabric, see https://github.com/jacoco/jacoco/issues/639
classpath 'org.jacoco:org.jacoco.core:0.8.0'
// We recommend changing it to the latest version from our changelog:
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath "com.jaredsburrows:gradle-spoon-plugin:1.3.0"
classpath "com.jaredsburrows:gradle-license-plugin:0.8.41"
classpath 'com.github.triplet.gradle:play-publisher:1.2.0'
classpath 'org.moallemi.gradle.advanced-build-version:gradle-plugin:1.6.0'
classpath 'com.github.gfx.ribbonizer:ribbonizer-plugin:2.1.0'
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "1.0.0.RC6-3"
}
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://clojars.org/repo/' }
maven { url 'https://maven.fabric.io/public' }
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" } // For Spoon snapshot, until 2.0.0 is released
}
}
detekt {
version = "1.0.0.RC6-3"
profile("main") {
input = "$projectDir/app/src/"
config = "$projectDir/detekt.yml"
output = "$project.projectDir/app/build/reports/detekt"
filters = ".*test.*,.*/resources/.*,.*/tmp/.*"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}