File tree Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Expand file tree Collapse file tree 2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 1
- buildscript {
2
- repositories {
3
- jcenter()
4
- }
5
- dependencies {
6
- // applies the Eclipse java formatter
7
- classpath " com.diffplug.gradle.spotless:spotless:${ VER_SPOTLESS} "
8
- }
1
+ plugins {
2
+ // code formatting
3
+ id " com.diffplug.gradle.spotless" version " 1.2.0"
9
4
}
10
5
11
6
repositories {
@@ -29,7 +24,6 @@ sourceCompatibility = VER_JAVA
29
24
targetCompatibility = VER_JAVA
30
25
31
26
dependencies {
32
- compile " com.diffplug.durian:durian:${ VER_DURIAN} "
33
27
testCompile " junit:junit:${ VER_JUNIT} "
34
28
}
35
29
@@ -119,7 +113,6 @@ javadoc {
119
113
options. addStringOption(' Xdoclint:none' , ' -quiet' )
120
114
options. header javadocInfo
121
115
options. footer javadocInfo
122
- options. links(' https://diffplug.github.io/durian/javadoc/' + (VER_DURIAN . endsWith(' -SNAPSHOT' ) ? ' snapshot' : VER_DURIAN ) + ' /' )
123
116
options. links(' https://docs.oracle.com/javase/8/docs/api/' )
124
117
}
125
118
Original file line number Diff line number Diff line change @@ -8,13 +8,8 @@ org=diffplug
8
8
# Build requirements
9
9
VER_GRADLE =2.7
10
10
VER_JAVA =1.8
11
- VER_SPOTLESS =1.2.0
12
11
VER_BINTRAY =1.1
13
12
VER_FINDBUGS =3.0.1
14
13
15
- # Dependencies
16
- VER_DURIAN =3.2.0
17
- VER_GUAVA =18.0
18
-
19
14
# Testing
20
15
VER_JUNIT =4.12
You can’t perform that action at this time.
0 commit comments