forked from diffplug/spotless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
31 lines (28 loc) · 1.12 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
buildscript {
repositories { maven { url 'https://plugins.gradle.org/m2/' } }
dependencies {
classpath "com.diffplug.gradle:goomph:${VER_GOOMPH}"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:${VER_BINTRAY}"
classpath "com.gradle.publish:plugin-publish-plugin:${VER_PLUGIN_PUBLISH}"
classpath "org.ajoberstar:gradle-git:${VER_GRADLE_GIT}"
classpath "ch.raffael.pegdown-doclet:pegdown-doclet:${VER_PEGDOWN_DOCLET}"
classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:${VER_SPOTBUGS_PLUGIN}"
classpath "com.gradle:build-scan-plugin:${VER_BUILDSCAN_PLUGIN}"
}
}
apply plugin: 'com.gradle.build-scan'
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')
}