forked from gradle/gradle-java-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (43 loc) · 1.32 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
plugins {
id 'groovy'
id 'idea'
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.9.7'
}
group = 'org.gradle.java'
version = '0.1.1'
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
// Fix a bad interaction with IntelliJ and Gradle > 4.0
idea.module.inheritOutputDirs = true
// make the publishing plugin skip checks that disallow publishing to com.gradle / org.gradle groups
System.setProperty('gradle.publish.skip.namespace.check', 'true')
repositories {
jcenter()
}
dependencies {
testCompile ('org.spockframework:spock-core:1.1-groovy-2.4') {
exclude module: 'groovy-all'
}
}
gradlePlugin {
plugins {
experimentalJigsawPlugin {
id = "org.gradle.java.experimental-jigsaw"
implementationClass = "org.gradle.java.JigsawPlugin"
}
}
}
pluginBundle {
website = 'https://guides.gradle.org/building-java-9-modules'
vcsUrl = 'https://github.com/gradle/gradle-java-modules'
plugins {
experimentalJigsawPlugin {
id = 'org.gradle.java.experimental-jigsaw'
displayName = 'Experimental Jigsaw Plugin'
description = 'Experiment with Java 9 modules before they are officially supported.'
tags = ['jigsaw', 'modules', 'java9']
version = project.version
}
}
}