File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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"
94}
105
116repositories {
@@ -29,7 +24,6 @@ sourceCompatibility = VER_JAVA
2924targetCompatibility = VER_JAVA
3025
3126dependencies {
32- compile " com.diffplug.durian:durian:${ VER_DURIAN} "
3327 testCompile " junit:junit:${ VER_JUNIT} "
3428}
3529
@@ -119,7 +113,6 @@ javadoc {
119113 options. addStringOption(' Xdoclint:none' , ' -quiet' )
120114 options. header javadocInfo
121115 options. footer javadocInfo
122- options. links(' https://diffplug.github.io/durian/javadoc/' + (VER_DURIAN . endsWith(' -SNAPSHOT' ) ? ' snapshot' : VER_DURIAN ) + ' /' )
123116 options. links(' https://docs.oracle.com/javase/8/docs/api/' )
124117}
125118
Original file line number Diff line number Diff line change @@ -8,13 +8,8 @@ org=diffplug
88# Build requirements
99VER_GRADLE =2.7
1010VER_JAVA =1.8
11- VER_SPOTLESS =1.2.0
1211VER_BINTRAY =1.1
1312VER_FINDBUGS =3.0.1
1413
15- # Dependencies
16- VER_DURIAN =3.2.0
17- VER_GUAVA =18.0
18-
1914# Testing
2015VER_JUNIT =4.12
You can’t perform that action at this time.
0 commit comments