forked from diffplug/spotless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (36 loc) · 1.5 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
plugins {
// dependencyUpdates https://github.com/ben-manes/gradle-versions-plugin/releases
id 'com.github.ben-manes.versions' version '0.22.0'
// https://github.com/diffplug/goomph/blob/master/CHANGES.md
id 'com.diffplug.gradle.eclipse.resourcefilters' version '3.18.1'
// https://plugins.gradle.org/plugin/com.gradle.plugin-publish
id 'com.gradle.plugin-publish' version '0.10.1' apply false
// https://plugins.gradle.org/plugin/com.gradle.build-scan
id 'com.gradle.build-scan' version '2.4'
// https://github.com/bintray/gradle-bintray-plugin/releases
id 'com.jfrog.bintray' version '1.8.4' apply false
// https://github.com/mnlipp/jdrupes-mdoclet/releases
id 'org.jdrupes.mdoclet' version '1.0.5' apply false
// https://github.com/ajoberstar/gradle-git-publish/releases
id 'org.ajoberstar.git-publish' version '2.1.1' apply false
// https://github.com/spotbugs/spotbugs/releases
id "com.github.spotbugs" version "2.0.0" apply false
}
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
apply from: 'gradle/build-scans.gradle'
}
// root eclipse project
apply plugin: 'com.diffplug.gradle.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.SpotBugsTask
}