forked from Drjacky/MVVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (38 loc) · 1.25 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
apply from: 'dependencies.gradle'
buildscript {
ext.kotlinVersion = '1.3.11'
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0-alpha06"
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
task runDomainTests(dependsOn: [':domain:test']) {
description 'Run tests for the domain layer.'
}
task runDataTests(dependsOn: [':data:cleanTestDebugUnitTest', ':data:testDebugUnitTest', 'data:connectedAndroidTest']) {
description 'Run tests for the data layer.'
}
task runAllTests(dependsOn: ['runDomainTests',
'runDataTests',
'presentation:cleanTestDebugUnitTest',
'presentation:testDebugUnitTest',
':presentation:connectedAndroidTest']) {
description 'Run application tests.'
}
task clean(type: Delete) {
delete rootProject.buildDir
}