aboutsummaryrefslogtreecommitdiffstats
path: root/gradle
diff options
context:
space:
mode:
authorShevek <[email protected]>2014-01-15 09:47:59 -0800
committerShevek <[email protected]>2014-01-15 09:47:59 -0800
commit5e8bc477e233588204cdea0e8a3dafedc4b66de2 (patch)
tree174adf2e08ccc2fa4044a96aefff545846bfc1aa /gradle
parent5d0f965e856b587148e4982d7a57ae9290081536 (diff)
Build system: Support cobertura and github-pages.
Diffstat (limited to 'gradle')
-rw-r--r--gradle/buildscript.gradle3
-rw-r--r--gradle/check.gradle5
-rw-r--r--gradle/convention.gradle4
3 files changed, 4 insertions, 8 deletions
diff --git a/gradle/buildscript.gradle b/gradle/buildscript.gradle
index 3163aa9..ee80ef9 100644
--- a/gradle/buildscript.gradle
+++ b/gradle/buildscript.gradle
@@ -5,7 +5,8 @@ repositories {
}
dependencies {
classpath 'nl.javadude.gradle.plugins:license-gradle-plugin:0.6.1'
- classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
+ // classpath 'com.mapvine:gradle-cobertura-plugin:0.1'
+ classpath "net.saliman:gradle-cobertura-plugin:2.2.2"
// classpath 'gradle-release:gradle-release:1.1.5'
classpath 'org.ajoberstar:gradle-git:0.5.0'
}
diff --git a/gradle/check.gradle b/gradle/check.gradle
index 78f8180..57068f7 100644
--- a/gradle/check.gradle
+++ b/gradle/check.gradle
@@ -18,8 +18,5 @@ findbugsTest.enabled = false
apply plugin: 'cobertura'
cobertura {
- sourceDirs = sourceSets.main.java.srcDirs
- format = 'html'
- includes = ['**/*.java', '**/*.groovy']
- excludes = []
+ coverageFormats = [ 'html', 'xml' ]
}
diff --git a/gradle/convention.gradle b/gradle/convention.gradle
index 22023ea..9ea6f59 100644
--- a/gradle/convention.gradle
+++ b/gradle/convention.gradle
@@ -60,7 +60,6 @@ status = project.hasProperty('preferredStatus')?project.preferredStatus:(version
test.runtimeClasspath += project.configurations.provided
}
-/*
apply plugin: 'github-pages' // Used to create publishGhPages task
def docTasks = [:]
@@ -72,7 +71,7 @@ def docTasks = [:]
}
githubPages {
- repoUri = "[email protected]:Netflix/${rootProject.githubProjectName}.git"
+ repoUri = "[email protected]:shevek/${rootProject.githubProjectName}.git"
pages {
docTasks.each { shortName, docTask ->
from(docTask.outputs.files) {
@@ -81,7 +80,6 @@ githubPages {
}
}
}
-*/
wrapper {
gradleVersion = '1.10'