gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1658994 - /gump/live/python/gump/core/build/gradle.py
Date Wed, 11 Feb 2015 16:03:19 GMT
Author: bodewig
Date: Wed Feb 11 16:03:19 2015
New Revision: 1658994

URL: http://svn.apache.org/r1658994
Log:
maybe enforcing 'artifact only notation' is going to make Gradle ignore the version conflict

Modified:
    gump/live/python/gump/core/build/gradle.py

Modified: gump/live/python/gump/core/build/gradle.py
URL: http://svn.apache.org/viewvc/gump/live/python/gump/core/build/gradle.py?rev=1658994&r1=1658993&r2=1658994&view=diff
==============================================================================
--- gump/live/python/gump/core/build/gradle.py (original)
+++ gump/live/python/gump/core/build/gradle.py Wed Feb 11 16:03:19 2015
@@ -253,6 +253,8 @@ class GradleBuilder(RunSpecific):
 #
 # DO NOT EDIT  DO NOT EDIT  DO NOT EDIT  DO NOT EDIT  DO NOT EDIT  DO NOT EDIT  DO NOT EDIT
 */
+import org.gradle.api.internal.artifacts.dependencies.DefaultDependencyArtifact
+
 apply plugin:MavenRepoProxyPlugin
 
 class MavenRepoProxyPlugin implements Plugin<Gradle> {
@@ -278,6 +280,15 @@ class MavenRepoProxyPlugin implements Pl
                         }
                     }
                 }
+            }
+            project.configurations {
+                all { config ->
+                    config.allDependencies.all { dep ->
+                        if (dep instanceof ModuleDependency && dep.artifacts.isEmpty())
{
+                            dep.addArtifact(new DefaultDependencyArtifact(dep.name, 'jar',
'jar', null, null))
+                        }
+                    }
+                }
             }
         }
     }



Mime
View raw message