-
Notifications
You must be signed in to change notification settings - Fork 460
/
build.gradle
51 lines (46 loc) · 1.66 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 {
// https://github.com/diffplug/goomph/blob/main/CHANGES.md
id 'com.diffplug.eclipse.resourcefilters' version '3.22.0'
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
id 'com.gradle.plugin-publish' version '0.12.0' apply false
// https://github.com/bintray/gradle-bintray-plugin/releases
id 'com.jfrog.bintray' version '1.8.5' apply false
// https://github.com/mnlipp/jdrupes-mdoclet/releases
id 'org.jdrupes.mdoclet' version '1.0.10' apply false
// https://github.com/spotbugs/spotbugs-gradle-plugin/releases
id "com.github.spotbugs" version "4.3.0" apply false
//https://github.com/diffplug/goomph
id "com.diffplug.p2.asmaven" version "3.22.0" apply false
// https://github.com/diffplug/spotless-changelog
id "com.diffplug.spotless-changelog" version "2.0.0" apply false
}
apply from: rootProject.file('gradle/changelog.gradle')
allprojects {
apply from: rootProject.file('gradle/spotless.gradle')
}
apply from: rootProject.file('gradle/spotless-freshmark.gradle')
spotless {
groovyGradle {
target '*.gradle', 'gradle/*.gradle'
}
format 'dotfiles', {
target '.gitignore', '.gitattributes', '.editorconfig'
indentWithSpaces(2)
trimTrailingWhitespace()
endWithNewline()
}
}
// root eclipse project
apply plugin: 'com.diffplug.eclipse.resourcefilters'
eclipseResourceFilters {
exclude().folders().name('.git')
exclude().folders().name('build').recursive()
exclude().folders().name('lib')
exclude().folders().name('lib-extra')
exclude().folders().name('plugin-gradle')
exclude().folders().name('plugin-maven')
exclude().folders().name('testlib')
}
static Class<?> spotBugsTaskType() {
return com.github.spotbugs.snom.SpotBugsTask
}