This repository was archived by the owner on Jan 6, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
96 lines (87 loc) · 3.16 KB
/
build.gradle
File metadata and controls
96 lines (87 loc) · 3.16 KB
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
89
90
91
92
93
94
95
96
buildscript {
repositories {
google()
jcenter()
maven { url reps.url.gradle }
}
dependencies {
classpath deps.plugin.kotlin
classpath deps.plugin.versions
classpath deps.plugin.dexcount
classpath deps.plugin.detekt
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply from: '../config/gradle/android/android.gradle'
apply from: '../config/gradle/android/dexcount.gradle'
apply from: '../config/gradle/android/leakcanary.gradle'
apply from: '../config/gradle/android/dart.gradle'
apply from: '../config/gradle/quality/lint.gradle'
apply from: '../config/gradle/quality/detekt.gradle'
apply from: '../config/gradle/dependencies/dependency_updates.gradle'
android {
defaultConfig {
applicationId group
versionCode app.major * 10000 + app.minor * 1000 + app.patch * 100 + app.build
versionName "${app.major}.${app.minor}.${app.patch}"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
applicationIdSuffix ".$suffix.debug"
versionNameSuffix "-$suffix.debug"
debuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation deps.module.domain
implementation deps.module.data
debugImplementation deps.leakcanary.debug
releaseImplementation deps.leakcanary.release
implementation deps.kotlin.jre
implementation deps.support.appCompat
implementation deps.support.design
implementation deps.support.cardView
implementation deps.support.constraintLayout
implementation deps.arch.lifecycleExtensions
implementation deps.di.dagger
implementation deps.di.daggerAndroid
kapt deps.di.daggerCompiler
kapt deps.di.daggerAndroidProcessor
implementation deps.rx.rxjava
implementation deps.rx.rxandroid
implementation deps.network.gson
implementation deps.network.okhttpLogging
implementation deps.rest.retrofit
implementation deps.ui.glide
kapt deps.ui.glideCompiler
implementation deps.extras.dart
kapt deps.extras.dartProcessor
implementation deps.extras.henson
kapt deps.extras.hensonProcessor
implementation deps.logging.timber
testImplementation deps.module.test
testImplementation deps.test.junit
testImplementation deps.test.assertj
testImplementation(deps.mock.mockitoKotlin, {
exclude group: excludedDeps.group.jetbrainsKotlin,
module: excludedDeps.module.kotlinReflect
})
testImplementation deps.archTest.core
testImplementation deps.robolectric.robolectric
androidTestImplementation deps.supportTest.runner
androidTestImplementation(deps.androidTest.espresso, {
exclude group: excludedDeps.group.androidSupport, module: excludedDeps.module.supportAnnotations
})
}