You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by be...@apache.org on 2026/04/19 11:43:08 UTC

(tapestry-5) 02/08: TAP5-2809: exclude netty from mavenLocal, improve project version guards

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

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

commit 40a38e59aa3a5bc6e577cd67956f426f254b9d12
Author: Ben Weidig <be...@netzgut.net>
AuthorDate: Sun Apr 12 12:42:02 2026 +0200

    TAP5-2809: exclude netty from mavenLocal, improve project version guards
---
 settings.gradle | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/settings.gradle b/settings.gradle
index b043d8154..8cc1fe715 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -7,7 +7,12 @@ rootProject.name = 'tapestry-5'
 
 dependencyResolutionManagement {
     repositories {
-        mavenLocal()
+        mavenLocal {
+            content {
+                // https://github.com/gradle/gradle/issues/18519
+                excludeGroup "io.netty"
+            }
+        }
         mavenCentral()
         maven {
             name = 'JBoss'
@@ -54,12 +59,12 @@ include('plastic',
         'tapestry-openapi-viewer',
         'tapestry-rest-jackson')
 
-if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
-    include('tapestry-javadoc')
+if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
+    include('tapestry-spring')
 }
 
-if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
-    include('tapestry-latest-java-tests', 'tapestry-spring')
+if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)) {
+    include('tapestry-javadoc', 'tapestry-latest-java-tests')
 }
 
 def isTravisCI = System.getenv('TRAVIS_JOB_ID') != null