-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to remove warnings when asciidoctor task is run on Java 9+ #400
Comments
@bric3 The warning you see are Groovy-based. I believe they will be fixed in Groovy 3 and will as such disappear when Gradle adopts that (probably not earlier than Gradle 6). |
This will need to be resolved on the Spring side. |
Please see spring-projects/spring-restdocs#625 which is about adsressing your block. I am closing this issue as nothing more can be done directly. |
@ysb33r Thanks for the pointer. Indeed I know those are Groovy warnings, I've adressed them in my tests tasks using |
Yes, use asciidoctor {
forkOptions {
jvmArgs '-Xdiag'
minHeapSize = '256M'
}
} |
Ah great, thanks ! |
I'm switching an existing project currently running on Java 8 to Java 11, and this is not a surprise, some tasks display some warnings about illegal reflective access. Is it possible to tell the asciidoctor task to run with specific JVM arguments. For example the Test task can be configured with
jvmArgs
:Is it possible with asciidoctor gradle plugin (1.6.1)
I'm currently blocked on this version because of this issue : spring-projects/spring-restdocs#581
The text was updated successfully, but these errors were encountered: