This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
69 lines (58 loc) · 1.58 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
59
60
61
62
63
64
65
66
67
68
69
plugins {
id 'com.gradle.plugin-publish' version "0.9.7"
id 'nebula.release' version '6.0.0'
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
apply plugin: 'checkstyle'
group = 'de.set.gradle'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
jcenter()
}
dependencies {
testCompile gradleTestKit()
testCompile localGroovy()
testCompile 'com.netflix.nebula:nebula-test:6.1.2'
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude group: 'org.codehaus.groovy'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.4.1'
}
test {
testLogging {
events "failed"
exceptionFormat "full"
}
}
gradlePlugin {
plugins {
eclipseCompilerPlugin {
id = 'de.set.ecj'
implementationClass = 'de.set.gradle.ecj.EclipseCompilerPlugin'
}
eclipseCompilerPluginBase {
id = 'de.set.ecj-base'
implementationClass = 'de.set.gradle.ecj.EclipseCompilerBasePlugin'
}
}
}
checkstyle {
toolVersion = '8.2'
}
pluginBundle {
website = 'https://github.com/TwoStone/gradle-eclipse-compiler-plugin'
vcsUrl = 'https://github.com/TwoStone/gradle-eclipse-compiler-plugin'
description = 'Gradle plugin for using the eclipse compiler for java (ecj) for compiling java files instead of javac'
tags = ['ecj', 'eclipse compiler for java', 'java', 'compile']
plugins {
ecjPlugin {
id = 'de.set.ecj'
displayName = 'Gradle Eclipse Compiler for Java Plugin'
}
}
}