You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2020/09/26 21:21:51 UTC

[tapestry-5] 04/04: TAP5-2641: setting automatic module name

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

thiagohp pushed a commit to tag before_tapestry_core_split
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit 2d6591685b05d9ed3681404093a8b24215b5a816
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sat Sep 26 18:21:12 2020 -0300

    TAP5-2641: setting automatic module name
---
 build.gradle | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build.gradle b/build.gradle
index a5c06e4..3238467 100755
--- a/build.gradle
+++ b/build.gradle
@@ -225,10 +225,14 @@ subprojects {
     }
 
     jar {
+    	// println "JAR projectDir: " + projectDir.getName().replaceAll("5", "")
         from(projectDir) {
             include "*.txt"
             into "META-INF"
         }
+        manifest {
+        	attributes("Automatic-Module-Name": "org.apache.tapestry5." + projectDir.getName().replaceAll("5", ""))
+        }
     }
 
     task sourcesJar(type: Jar) {