You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by ni...@apache.org on 2015/04/17 18:42:52 UTC
[13/28] zest-qi4j git commit: build: upgrade Gradle wrapper to 2.2.1
build: upgrade Gradle wrapper to 2.2.1
Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/b0b1ee56
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/b0b1ee56
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/b0b1ee56
Branch: refs/heads/develop
Commit: b0b1ee56745ed5807fb8ab3fbc320c46667bc2b5
Parents: 3c882b8
Author: Paul Merlin <pa...@nosphere.org>
Authored: Sat Jan 24 12:22:23 2015 +0100
Committer: Paul Merlin <pa...@nosphere.org>
Committed: Sat Jan 24 12:22:23 2015 +0100
----------------------------------------------------------------------
build.gradle | 8 ++++----
gradle/wrapper/gradle-wrapper.properties | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/b0b1ee56/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 51e47fe..579e86f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -75,12 +75,12 @@ allprojects {
// UTF-8 For all compilations and javadocs
// Deprecation warnings for all compilations
// Unchecked warnings for non-test core compilations
- tasks.withType(Compile) {
+ tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:deprecation"
}
if("core".equals(group)) {
- tasks.matching({ task -> task instanceof Compile && !task.name.contains('test') }).
+ tasks.matching({ task -> task instanceof JavaCompile && !task.name.contains('test') }).
each({ task -> task.options.compilerArgs << "-Xlint:unchecked" })
}
tasks.withType(Javadoc) {
@@ -335,7 +335,7 @@ task globalTestReport( type: TestReport ) {
test {
dependsOn subprojects*.test, globalTestReport
- testReport = false
+ reports.html.enabled = false
}
// Jacoco
@@ -650,5 +650,5 @@ task release {
// 2) /gradlew.bat which is the windows bat script for for executing builds
// 3) /wrapper which is a directory named by the "jarPath" config which contains other needed files.
task wrapper( type: Wrapper ) {
- gradleVersion = '1.12'
+ gradleVersion = '2.2.1'
}
http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/b0b1ee56/gradle/wrapper/gradle-wrapper.properties
----------------------------------------------------------------------
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 947f764..7185259 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip