summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShevek <[email protected]>2014-12-30 20:15:47 -0800
committerShevek <[email protected]>2014-12-30 20:15:47 -0800
commit95b8b68bb3be229b7c3f52e7f53a232e1d7eb281 (patch)
treeebeaca48c0b60b0b3c066cdaf89bfa961b10581d
parent75c73f55df6f75a509d4b9699f774167a270d493 (diff)
Update build rig a little.
-rw-r--r--gradle/buildscript.gradle4
-rw-r--r--gradle/convention.gradle11
-rw-r--r--gradle/github.gradle3
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)