diff options
Diffstat (limited to 'gradle')
-rw-r--r-- | gradle/buildscript.gradle | 4 | ||||
-rw-r--r-- | gradle/convention.gradle | 11 | ||||
-rw-r--r-- | 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) |