You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2015/02/11 17:03:19 UTC
svn commit: r1658994 - /gump/live/python/gump/core/build/gradle.py
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))
+ }
+ }
+ }
}
}
}