-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
49 lines (45 loc) · 1.03 KB
/
build.gradle
File metadata and controls
49 lines (45 loc) · 1.03 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
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath 'com.bmuschko:gradle-clover-plugin:3.0.3'
}
}
allprojects{
repositories {
mavenCentral()
}
apply plugin: 'com.bmuschko.clover'
dependencies {
clover 'org.openclover:clover:4.5.2'
}
}
clover{
compiler {
sourceCompatibility = 17
targetCompatibility = 17
additionalArgs = "-g:lines,source,vars"
}
report {
xml=true
html = true
}
}
task resolveDependencies {
doLast {
project.rootProject.allprojects.each { subProject ->
subProject.buildscript.configurations.each { configuration->
if(configuration.canBeResolved) {
configuration.resolve()
}
}
subProject.configurations.each { configuration ->
if(configuration.canBeResolved) {
configuration.resolve()
}
}
}
}
}