polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [1/3] polygene-java git commit: build: fix downloadDependencies task broken after upgrade to Gradle 3.4
Date Mon, 03 Apr 2017 14:59:52 GMT
Repository: polygene-java
Updated Branches:
  refs/heads/develop 52ece384c -> 4048ec947


build: fix downloadDependencies task broken after upgrade to Gradle 3.4


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

Branch: refs/heads/develop
Commit: 9cac8fc65641efc407247e107203a71b75a8211a
Parents: 52ece38
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon Apr 3 16:22:21 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon Apr 3 16:27:35 2017 +0200

----------------------------------------------------------------------
 .../polygene/gradle/dependencies/DependenciesDownloadTask.groovy   | 2 +-
 .../apache/polygene/gradle/dependencies/DependenciesPlugin.groovy  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/9cac8fc6/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesDownloadTask.groovy
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesDownloadTask.groovy
b/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesDownloadTask.groovy
index 78230ea..6a24cee 100644
--- a/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesDownloadTask.groovy
+++ b/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesDownloadTask.groovy
@@ -29,6 +29,6 @@ class DependenciesDownloadTask extends DefaultTask
   void downloadAllDependencies()
   {
     def allConfigurations = project.allprojects.collect { it.configurations }.flatten() as
Set<Configuration>
-    allConfigurations*.resolvedConfiguration
+    allConfigurations.findAll { it.canBeResolved }*.resolvedConfiguration
   }
 }

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/9cac8fc6/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesPlugin.groovy
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesPlugin.groovy
b/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesPlugin.groovy
index 42b44b9..dc6efcf 100644
--- a/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesPlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/polygene/gradle/dependencies/DependenciesPlugin.groovy
@@ -70,7 +70,7 @@ class DependenciesPlugin implements Plugin<Project>
   }
 
   static void applyDependencyResolutionRules( Configuration configuration,
-                                                     DependenciesDeclarationExtension declaration
)
+                                              DependenciesDeclarationExtension declaration
)
   {
     configuration.resolutionStrategy.dependencySubstitution.all(
       { DependencySubstitution dep ->


Mime
View raw message