22 serverName = ' wildfly'
33 // serverModule = 'servlet'
44 serverModule = ' wildfly'
5- serverVersion = ' 15.0.0 .Final'
5+ serverVersion = ' 26.1.3 .Final'
66 serverExtension = ' zip'
77}
88
99repositories {
1010 ivy {
11- url = ' https://download.jboss.org /'
11+ url = ' https://github.com/wildfly/wildfly/releases/download /'
1212 // Restrict this repository to WildFly distribution artifacts only.
1313 // Without this filter, Gradle may probe this host for unrelated dependencies
1414 // (for example JUnit/Mockito), which makes the build flaky when the host is unreachable.
1515 content {
1616 includeGroup ' wildfly'
1717 }
1818 patternLayout {
19- // artifact '/[organisation]/[revision]/[module]/[organisation]-[module]-[revision].[ext]'
20- // we download the full EE profile and not the servlet minimal one
21- artifact ' /[organisation]/[ revision]/[organisation ]-[revision].[ext]'
19+ // GitHub release assets are published under /<version>/wildfly-<version>.zip
20+ // while the dependency coordinates keep the "wildfly" group/module.
21+ artifact ' /[revision]/[module ]-[revision].[ext]'
2222 }
2323 metadataSources {
2424 it. artifact()
@@ -42,8 +42,8 @@ configurations {
4242}
4343
4444dependencies {
45- // uses the ivy repository url to download the wildfly servlet zip
46- // organisation = serverName, revision = serverVersion, module = serverModule , ext = serverExtension
45+ // Uses the ivy repository url to download the WildFly server zip.
46+ // organisation = serverName, module = serverModule, revision = serverVersion , ext = serverExtension
4747 serverFile " ${ serverName} :${ serverModule} :${ serverVersion} @${ serverExtension} "
4848 testImplementation project(' :dd-smoke-tests:rum' )
4949 testImplementation project(' :dd-smoke-tests' )
0 commit comments