forked from gradle/gradle-java-modules
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
66 lines (55 loc) · 1.27 KB
/
Copy pathbuild.gradle
File metadata and controls
66 lines (55 loc) · 1.27 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
plugins {
id 'groovy'
id 'idea'
id 'jacoco'
id 'maven-publish'
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.9.10'
}
group = 'com.zyxist'
version = '0.3.1'
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
// Fix a bad interaction with IntelliJ and Gradle > 4.0
idea.module.inheritOutputDirs = true
repositories {
jcenter()
}
dependencies {
compile 'com.github.javaparser:javaparser-core:3.5.15'
testCompile('org.spockframework:spock-core:1.1-groovy-2.4') {
exclude module: 'groovy-all'
}
testCompile('org.mockito:mockito-core:2.15.0')
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport
test {
testLogging.showStandardStreams = true
}
gradlePlugin {
plugins {
chainsawPlugin {
id = "com.zyxist.chainsaw"
implementationClass = "com.zyxist.chainsaw.ChainsawPlugin"
}
}
}
pluginBundle {
website = 'https://github.com/zyxist/chainsaw'
vcsUrl = 'https://github.com/zyxist/chainsaw'
plugins {
chainsawPlugin {
id = 'com.zyxist.chainsaw'
displayName = 'Chainsaw: Java 9 Jigsaw support'
description = 'Adds a support for building and testing modular JDK9 applications with Gradle. '
tags = ['jigsaw', 'modules', 'java9', 'java']
version = project.version
}
}
}