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

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

commit f41c7aa94bcf27d65b46d1a01aa022a3a8c57dcf
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Sat Aug 17 20:44:03 2024 -0300

    Trying to create shared logic between javax and master
---
 build.gradle | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 83653bbc4..51d796506 100755
--- a/build.gradle
+++ b/build.gradle
@@ -28,8 +28,10 @@ project.ext.versions = [
     webdriverManager: "5.3.1"
 ]
 
-def artifactSuffix = "-jakarta"
+def artifactSuffix = ""
 
+// Artifacts that have both an unsuffixed artifact from the javax branch
+// and a suffixed one from the master branch
 def suffixedArtifactNames = ["tapestry-core", "tapestry-http", "tapestry-test",
         "tapestry-runner", "tapestry-spring"]
 
@@ -370,7 +372,8 @@ subprojects {
         }
     }
     
-    def actuallyPublish = suffixedArtifactNames.contains(project.name)
+    def actuallyPublish = !artifactSuffix.isEmpty() || 
suffixedArtifactNames.contains(project.name)
+    // println "XXXXXX Actually publish? " + actuallyPublish + " project " + 
project.name + " " + "!artifactSuffix.isEmpty() " + !artifactSuffix.isEmpty()
     if (!actuallyPublish) {
         tasks.withType(PublishToMavenRepository).configureEach { it.enabled = 
false }
         tasks.withType(PublishToMavenLocal).configureEach { it.enabled = false 
}

Reply via email to