From 95b8b68bb3be229b7c3f52e7f53a232e1d7eb281 Mon Sep 17 00:00:00 2001 From: Shevek Date: Tue, 30 Dec 2014 20:15:47 -0800 Subject: Update build rig a little. --- gradle/buildscript.gradle | 4 ++-- gradle/convention.gradle | 11 ++++++++++- gradle/github.gradle | 3 +++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gradle/buildscript.gradle b/gradle/buildscript.gradle index d460daa..bc2c68c 100644 --- a/gradle/buildscript.gradle +++ b/gradle/buildscript.gradle @@ -10,12 +10,12 @@ dependencies { // classpath 'com.mapvine:gradle-cobertura-plugin:0.1' classpath "net.saliman:gradle-cobertura-plugin:2.2.5" // classpath 'gradle-release:gradle-release:1.1.5' - classpath 'org.ajoberstar:gradle-git:0.11.2' + classpath 'org.ajoberstar:gradle-git:0.12.0' classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.5' classpath('com.netflix.nebula:gradle-info-plugin:1.12.5') { exclude group: 'com.perforce' } - classpath 'com.bmuschko:gradle-nexus-plugin:2.1.1' + classpath 'com.bmuschko:gradle-nexus-plugin:2.2' classpath 'org.anarres.gradle:gradle-velocity-plugin:1.0.0' } diff --git a/gradle/convention.gradle b/gradle/convention.gradle index 8dd086e..d0ed864 100644 --- a/gradle/convention.gradle +++ b/gradle/convention.gradle @@ -23,7 +23,13 @@ } tasks.withType(JavaCompile) { - options.incremental = true + // options.incremental = true + } + + 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/" } test { @@ -52,6 +58,9 @@ } } +apply plugin: 'build-announcements' +apply plugin: 'build-dashboard' + // Generate wrapper, which is distributed as part of source to alleviate the need of installing gradle wrapper { gradleVersion = '2.2.1' diff --git a/gradle/github.gradle b/gradle/github.gradle index 5aeaabe..64a8fee 100644 --- a/gradle/github.gradle +++ b/gradle/github.gradle @@ -8,6 +8,9 @@ def docTasks = [:] def docTask = task "aggregate${shortName.capitalize()}"(type: docClass, description: "Aggregate subproject ${shortName}s") { source = allSources destinationDir = file("${project.buildDir}/docs/${shortName}") + 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/" doFirst { def classpaths = allprojects.findAll { it.plugins.hasPlugin(JavaPlugin) }.collect { it.sourceSets.main.compileClasspath } classpath = files(classpaths) -- cgit v1.2.3