polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [3/5] zest-java git commit: Remove usage of deprecated Gradle methods
Date Tue, 14 Jun 2016 09:10:49 GMT
Remove usage of deprecated Gradle methods


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

Branch: refs/heads/develop
Commit: e32469862ca9a81c12bfb8ca9b8bf1278f879afd
Parents: ce0d72a
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon Jun 13 19:51:59 2016 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon Jun 13 19:51:59 2016 +0200

----------------------------------------------------------------------
 build.gradle                                      | 4 ++--
 buildSrc/src/main/groovy/AsciidocBuildInfo.groovy | 4 ++--
 buildSrc/src/main/groovy/VersionClass.groovy      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/e3246986/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b75a3d3..4c9c72a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -617,8 +617,8 @@ def licenseHeader( flavour ) {
 task generateBinDistGoOfflineHelpers {
   def goOfflineGradleFile = file( 'build/go-offline-helpers/go-offline.gradle' )
   def goOfflinePomFile = file( 'build/go-offline-helpers/go-offline.pom')
-  outputs.files goOfflineGradleFile
-  outputs.files goOfflinePomFile
+  outputs.file goOfflineGradleFile
+  outputs.file goOfflinePomFile
   doLast {
 
     def goOfflineGradle = licenseHeader( 'java' )

http://git-wip-us.apache.org/repos/asf/zest-java/blob/e3246986/buildSrc/src/main/groovy/AsciidocBuildInfo.groovy
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/groovy/AsciidocBuildInfo.groovy b/buildSrc/src/main/groovy/AsciidocBuildInfo.groovy
index 47c9a55..b72c9dd 100644
--- a/buildSrc/src/main/groovy/AsciidocBuildInfo.groovy
+++ b/buildSrc/src/main/groovy/AsciidocBuildInfo.groovy
@@ -53,9 +53,9 @@ class AsciidocBuildInfo implements Plugin<Project>
         // Declare inputs/outputs
         if( project.getBuildFile() != null && project.getBuildFile().exists() )
         {
-            makeAsciidocBuildInfoTask.getInputs().files(project.getBuildFile())
+            makeAsciidocBuildInfoTask.getInputs().file(project.getBuildFile())
         }
-        makeAsciidocBuildInfoTask.getOutputs().files( buildInfoDir )
+        makeAsciidocBuildInfoTask.getOutputs().file( buildInfoDir )
     }
 
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/e3246986/buildSrc/src/main/groovy/VersionClass.groovy
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/groovy/VersionClass.groovy b/buildSrc/src/main/groovy/VersionClass.groovy
index 516538d..c82799f 100644
--- a/buildSrc/src/main/groovy/VersionClass.groovy
+++ b/buildSrc/src/main/groovy/VersionClass.groovy
@@ -81,7 +81,7 @@ public interface BuildVersion
       }
     }
     makeVersionClassTask.getInputs().files(project.sourceSets.main.getAllSource())
-    makeVersionClassTask.getOutputs().files(generatedSrcDir)
+    makeVersionClassTask.getOutputs().file(generatedSrcDir)
     if( project.getBuildFile() != null && project.getBuildFile().exists() )
     {
       makeVersionClassTask.getInputs().files(project.getBuildFile())


Mime
View raw message