diff options
Diffstat (limited to 'gradle/convention.gradle')
-rw-r--r-- | gradle/convention.gradle | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/gradle/convention.gradle b/gradle/convention.gradle index d0ed864..abda03e 100644 --- a/gradle/convention.gradle +++ b/gradle/convention.gradle @@ -1,6 +1,7 @@ apply plugin: 'java' // Plugin as major conventions - apply plugin: 'errorprone' + // apply plugin: 'errorprone' apply plugin: 'info' + apply plugin: 'com.github.ben-manes.versions' sourceCompatibility = 1.5 @@ -15,11 +16,11 @@ dependencies { compile 'com.google.code.findbugs:jsr305:2.0.2' - compile 'org.slf4j:slf4j-api:1.7.7' + compile 'org.slf4j:slf4j-api:1.7.12' - testCompile 'junit:junit:4.11' + testCompile 'junit:junit:4.12' - testRuntime 'org.slf4j:slf4j-simple:1.7.7' + testRuntime 'ch.qos.logback:logback-classic:1.1.3' } tasks.withType(JavaCompile) { @@ -27,9 +28,14 @@ } javadoc { - options.links "http://docs.oracle.com/javase/7/docs/api/", - "http://docs.oracle.com/javaee/7/api/", - "http://docs.guava-libraries.googlecode.com/git/javadoc/" + if (!gradle.startParameter.offline) + options.links "http://docs.oracle.com/javase/7/docs/api/", + "http://docs.oracle.com/javaee/7/api/", + "http://docs.guava-libraries.googlecode.com/git/javadoc/" + + if (false) + if (JavaVersion.current().isJava8Compatible()) + options.addStringOption('Xdoclint:none', '-quiet') } test { @@ -60,6 +66,7 @@ apply plugin: 'build-announcements' apply plugin: 'build-dashboard' +apply plugin: 'project-report' // Generate wrapper, which is distributed as part of source to alleviate the need of installing gradle wrapper { |