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/24 06:30:08 UTC

[incubator-tuweni] branch master updated: Reformat build.gradle using spotless

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


The following commit(s) were added to refs/heads/master by this push:
     new dbfa64f  Reformat build.gradle using spotless
dbfa64f is described below

commit dbfa64f0bdc1de963707fe8caf4cc26f9f408660
Author: Antoine Toulme <to...@apache.org>
AuthorDate: Tue Apr 23 23:29:52 2019 -0700

    Reformat build.gradle using spotless
---
 dist/build.gradle | 76 +++++++++++++++++++++++++++----------------------------
 1 file changed, 37 insertions(+), 39 deletions(-)

diff --git a/dist/build.gradle b/dist/build.gradle
index 4ca1377..9cd624b 100644
--- a/dist/build.gradle
+++ b/dist/build.gradle
@@ -3,46 +3,44 @@ description = 'Tuweni distribution.'
 apply plugin: 'distribution'
 
 distributions {
-    main {
-        baseName = 'tuweni'
-        contents {
-            into('') {
-                from ".."
-                include 'README.md'
-                include 'DISCLAIMER'
-                include 'LICENSE'
-                include 'NOTICE'
-            }
-            def docs = []
-            def libs = []
-            def sources = []
-            rootProject.subprojects.each { s ->
-                if (s.name != 'eth-reference-tests') {
-                    docs << s.dokkaJar.outputs
-                    libs << s.jar.outputs
-                    sources << s.sourcesJar.outputs
-                }
-            }
-            into('lib') {
-                from rootProject.jar
-                from libs
-            }
-            into('sources') {
-                from rootProject.sourcesJar
-                from sources
-            }
-            into('docs') {
-                from rootProject.dokkaJar
-                from docs
-            }
-            into('site') {
-                from rootProject.dokka.outputDirectory
-                from rootProject.javadoc.outputDirectory
-            }
+  main {
+    baseName = 'tuweni'
+    contents {
+      into('') {
+        from ".."
+        include 'README.md'
+        include 'DISCLAIMER'
+        include 'LICENSE'
+        include 'NOTICE'
+      }
+      def docs = []
+      def libs = []
+      def sources = []
+      rootProject.subprojects.each { s ->
+        if (s.name != 'eth-reference-tests') {
+          docs << s.dokkaJar.outputs
+          libs << s.jar.outputs
+          sources << s.sourcesJar.outputs
         }
+      }
+      into('lib') {
+        from rootProject.jar
+        from libs
+      }
+      into('sources') {
+        from rootProject.sourcesJar
+        from sources
+      }
+      into('docs') {
+        from rootProject.dokkaJar
+        from docs
+      }
+      into('site') {
+        from rootProject.dokka.outputDirectory
+        from rootProject.javadoc.outputDirectory
+      }
     }
+  }
 }
 
-distTar{
-    compression = Compression.GZIP
-}
\ No newline at end of file
+distTar{ compression = Compression.GZIP }


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