-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (43 loc) · 1.02 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenLocal()
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.9.0'
classpath('com.google.guava:guava') {
version {
strictly '28.1-jre'
}
}
}
}
plugins {
id("org.jesperancinha.plugins.omni") version "0.3.1"
id("jacoco")
id 'com.android.library' version '8.9.0' apply false
id 'org.jetbrains.kotlin.android' version '2.1.10' apply false
}
allprojects {
version = '0.0.0-SNAPSHOT'
}
jacoco {
toolVersion = "0.8.7"
}
tasks.withType(Test).configureEach {
reports {
html.enabled false
}
useJUnitPlatform()
finalizedBy(jacocoTestReport)
}
tasks.register('jacocoTestReport', JacocoReport) {
dependsOn tasks.withType(Test)
reports {
xml.required = true
csv.required = false
html.required = false
}
}