polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [26/50] [abbrv] zest-qi4j git commit: BuildSystem: upgraded to Gradle 1.4
Date Fri, 17 Apr 2015 16:05:46 GMT
BuildSystem: upgraded to Gradle 1.4

Huuuuge performance improvments
See http://www.gradle.org/docs/1.4/release-notes


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/d9c9aaea
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/d9c9aaea
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/d9c9aaea

Branch: refs/heads/master
Commit: d9c9aaeac0150ba7ce2680406821928ea49b70be
Parents: 3f9ed14
Author: Paul Merlin <paul@nosphere.org>
Authored: Thu Feb 14 10:16:10 2013 +0100
Committer: Paul Merlin <paul@nosphere.org>
Committed: Thu Feb 14 10:16:10 2013 +0100

----------------------------------------------------------------------
 build.gradle                             |  14 +++++++++-----
 gradle/wrapper/gradle-wrapper.jar        | Bin 46670 -> 46707 bytes
 gradle/wrapper/gradle-wrapper.properties |   4 ++--
 gradlew                                  |   4 ++--
 4 files changed, 13 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/d9c9aaea/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index c2c9dad..f454525 100644
--- a/build.gradle
+++ b/build.gradle
@@ -240,7 +240,6 @@ allprojects {
       systemProperties = testProperties
       ignoreFailures = true
       testReport = true
-      testResultsDir = file( "$rootProject.testResultsDir" )
       afterSuite { descriptor, result ->
         if( result.resultType == TestResult.ResultType.FAILURE )
         {
@@ -341,9 +340,14 @@ gradle.taskGraph.whenReady {taskGraph ->
   }
 }
 
+task globalTestReport( type: TestReport ) {
+  destinationDir = file("$buildDir/reports/tests")
+  reportOn subprojects*.test
+}
+
 test {
-  dependsOn subprojects*.test
-  testReport = true
+  dependsOn subprojects*.test, globalTestReport
+  testReport = false
 }
 
 // Build the whole SDK public Javadoc
@@ -382,7 +386,7 @@ task javadocs( type: Javadoc ) {
 task archiveJavadocs(type: Copy ) {
   dependsOn javadocs
 
-  if( rootProject.version == '0' )
+  if( rootProject.version == '0' || rootProject.version.contains( "SNAPSHOT" ) )
   {
     into( "$rootProject.projectDir/../qi4j.github.com/develop/javadocs/" )
   }
@@ -568,5 +572,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.3'
+  gradleVersion = '1.4'
 }

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/d9c9aaea/gradle/wrapper/gradle-wrapper.jar
----------------------------------------------------------------------
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 7b359d7..b6b646b 100644
Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/d9c9aaea/gradle/wrapper/gradle-wrapper.properties
----------------------------------------------------------------------
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 7c1d3cf..67b3265 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Nov 26 11:40:13 CET 2012
+#Wed Feb 13 18:11:49 CET 2013
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=http\://services.gradle.org/distributions/gradle-1.3-bin.zip
+distributionUrl=http\://services.gradle.org/distributions/gradle-1.4-bin.zip

http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/d9c9aaea/gradlew
----------------------------------------------------------------------
diff --git a/gradlew b/gradlew
index 8e7f83d..498019b 100755
--- a/gradlew
+++ b/gradlew
@@ -61,9 +61,9 @@ while [ -h "$PRG" ] ; do
     fi
 done
 SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/"
+cd "`dirname \"$PRG\"`/" >&-
 APP_HOME="`pwd -P`"
-cd "$SAVED"
+cd "$SAVED" >&-
 
 CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
 


Mime
View raw message