Upgrade to Gradle 7.0-rc-1 and fix wildfly integration test
MODIFY
asciidoctorj-wildfly-integration-test/build.gradle
asciidoctorj-wildfly-integration-test/build.gradle
@@ -85,9 +85,10 @@ test {
systemProperty('jboss.home', jbossHome)
systemProperty('module.path', jbossHome + "/modules" + File.pathSeparator + file('build/modules').absolutePath)
- if (JavaVersion.current().isJava11Compatible()) {
+ if (JavaVersion.current() == JavaVersion.VERSION_16) {
+ systemProperty('arquillian.launch', 'wildfly-java16')
+ } else if (JavaVersion.current().isJava11Compatible()) {
systemProperty('arquillian.launch', 'wildfly-java11')
- // jvmArgs = ['--add-modules', 'java.security']
}

MODIFY
asciidoctorj-wildfly-integration-test/src/test/resources/arquillian.xml
asciidoctorj-wildfly-integration-test/src/test/resources/arquillian.xml
</configuration>
</container>
+ <container qualifier="wildfly-java16">
+ <configuration>
+ <property name="jbossHome">${jboss.home}</property>
+ <!--<property name="javaVmArguments">-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</property> -->
+ <property name="javaVmArguments">--add-modules java.se,java.security</property>
+ <property name="serverConfig">${jboss.server.config.file.name:standalone.xml}</property>
+ <property name="jbossArguments">${jboss.args:}</property>
+ </configuration>
+ </container>
+
</arquillian>
\ No newline at end of file

MODIFY
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-milestone-3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

MODIFY
settings.gradle
settings.gradle
@@ -6,7 +6,7 @@ include \
'asciidoctorj-api',
'asciidoctorj-distribution',
'asciidoctorj-documentation',
-// 'asciidoctorj-wildfly-integration-test',
+ 'asciidoctorj-wildfly-integration-test',
'asciidoctorj-springboot-integration-test',
'asciidoctorj-springboot-integration-test:springboot-app',
'asciidoctorj-test-support'

Upgrade to Gradle 7.0-rc-1 and fix wildfly integration test