aboutsummaryrefslogtreecommitdiffstats
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
parent5d0f965e856b587148e4982d7a57ae9290081536 (diff)
Build system: Support cobertura and github-pages.
-rw-r--r--.gitignore1
-rw-r--r--codequality/HEADER2
-rw-r--r--gradle/buildscript.gradle3
-rw-r--r--gradle/check.gradle5
-rw-r--r--gradle/convention.gradle4
5 files changed, 6 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index a8b6931..9d7ac43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
build
.*.swp
.gradle
+.nb-gradle
diff --git a/codequality/HEADER b/codequality/HEADER
index 3102e4b..169c3d1 100644
--- a/codequality/HEADER
+++ b/codequality/HEADER
@@ -1,4 +1,4 @@
-Copyright ${year} Netflix, Inc.
+Copyright ${year} Shevek.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
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'