You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2019/04/23 23:09:16 UTC

[incubator-tuweni] 35/43: Enable uber root jar

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git

commit 7e4bfbaa4bab7602536cdf263586e51634785fc5
Author: Antoine Toulme <to...@apache.org>
AuthorDate: Mon Apr 22 16:15:50 2019 -0700

    Enable uber root jar
---
 build.gradle | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 6c4d57c..f765ea1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -267,9 +267,9 @@ allprojects {
 
     artifacts {
       if (project != rootProject) {
-        archives jar
         archives sourcesJar
       }
+      archives jar
       archives dokkaJar
     }
 
@@ -466,7 +466,13 @@ dependencies {
   }
 }
 
-jar { enabled = false }
+jar {
+  subprojects.each { subproject ->
+    if (subproject.name != 'eth-reference-tests') {
+      from subproject.configurations.archives.collect { it.path.endsWith('.jar') }.files.collect { zipTree(it) }
+    }
+  }
+}
 
 javadoc {
   subprojects.each {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org