-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
54 lines (46 loc) · 1.24 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
buildscript {
ext.versions = [
'kotlin' : '1.5.31',
'jacoco' : '0.8.7',
'koin' : '3.1.3',
'mockk' : '1.12.0',
'detekt' : '1.18.1',
'androidx': [
'archcore' : '2.1.0',
'espresso' : '3.5.0-alpha03',
'junitext' : '1.1.3',
'lifecycle' : '2.4.0',
'testcore' : '1.4.1-alpha03',
],
]
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
classpath 'com.google.gms:google-services:4.3.10'
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$versions.detekt"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
configurations.all {
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == 'org.jacoco') {
details.useVersion versions.jacoco
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}