-
Notifications
You must be signed in to change notification settings - Fork 57
/
build.gradle
58 lines (49 loc) · 1.7 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
55
56
57
58
plugins {
id 'com.gradle.plugin-publish' version '1.2.1'
id 'groovy'
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
group = 'com.dorongold.plugins'
version = '4.0.0'
description = "Gradle plugin that adds a 'taskTree' task that prints task dependency tree"
dependencies {
// mandatory dependencies for using Spock
implementation platform('org.codehaus.groovy:groovy-bom:3.0.21')
implementation 'org.codehaus.groovy:groovy'
implementation 'org.apache.commons:commons-lang3:3.14.0'
testImplementation platform("org.spockframework:spock-bom:2.3-groovy-3.0") {
exclude group: 'org.codehaus.groovy'
}
testImplementation "org.spockframework:spock-core"
testImplementation "org.spockframework:spock-junit4" // you can remove this if your code does not rely on old JUnit 4 rules
testImplementation 'com.netflix.nebula:nebula-test:10.6.1'
testImplementation 'commons-io:commons-io:2.16.1'
}
gradlePlugin {
website = 'https://github.com/dorongold/gradle-task-tree'
vcsUrl = 'https://github.com/dorongold/gradle-task-tree.git'
plugins {
taskTreePlugin {
id = 'com.dorongold.task-tree'
displayName = 'Gradle Task Tree Plugin'
description = "Gradle plugin that adds a 'taskTree' task that prints task dependency tree"
tags.addAll('task', 'tree', 'dependencies', 'dependency')
implementationClass = 'com.dorongold.gradle.tasktree.TaskTreePlugin'
}
}
}
test {
useJUnitPlatform()
testLogging {
// showStandardStreams = true
events "passed", "skipped", "failed"
exceptionFormat = 'full'
}
}