-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbuild.gradle
88 lines (74 loc) · 2.6 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kodein_version = '3.4.1'
ext.kotlin_version = '1.2.71'
ext.jackson_version = '2.9.6'
ext.junit_version = '4.12'
ext.mockito_version = '2.8.9'
ext.mockito_kotlin_version = '1.5.0'
ext.detekt_version = '1.0.0.M8.1'
ext.jmustache_version = '1.14'
ext.guava_version = '28.2-android'
ext.cakeparse_version = '1.1.1'
ext.kotlin_logging_version = '1.4.6'
ext.slf4j_version = '1.7.25'
ext.logback_version = '1.2.3'
ext.argparse4j_version = '0.8.1'
ext.iconics_core_version = '2.9.3@aar'
ext.iconics_cmd_version = '1.9.32.2@aar'
ext.iconics_ion_version = '2.0.1.3@aar'
ext.ankoVersion = '0.9.1' // 0.10.2 ??
ext.fastadapter_version = '2.6.2@aar'
ext.fastadapter_extensions_version = '2.6.0@aar'
ext.fastadapter_commons_version = '2.6.0@aar'
ext.materialdrawer_version = '5.9.4@aar'
ext.materialize_version = '1.0.2@aar'
ext.leakcanary_version = '1.5.4'
repositories {
jcenter()
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'http://dl.bintray.com/kaleidos/maven' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'net.kaleidos.gradle.plugins:emerger:0.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
//classpath 'eu.inloop:easyrelease:0.2.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id 'com.gladed.androidgitversion' version '0.4.13'
}
subprojects {
repositories {
jcenter()
google()
mavenCentral()
maven { url 'https://dl.bintray.com/jetbrains/anko' }
maven { url "http://dl.bintray.com/arturbosch/code-analysis" }
}
configurations {
detekt
}
dependencies {
detekt "io.gitlab.arturbosch.detekt:detekt-cli:$detekt_version"
detekt "io.gitlab.arturbosch.detekt:detekt-formatting:$detekt_version"
}
task detekt(type: JavaExec) {
main = "io.gitlab.arturbosch.detekt.cli.Main"
classpath = configurations.detekt
def input = "$project.projectDir.absolutePath"
def config = "$rootDir/gradle/detekt.yml"
def filters = ".*test.*"
def rulesets = " "
def params = [ '-p', input, '-c', config, '-f', filters, '-r', rulesets]
args(params)
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}