re: Removing illegal reflective access warnings in Grails 4 VIEW POST


Works great. If you want same behaviour for testing:

tasks.withType(Test) {
jvmArgs = jvmOpenModulesArgs


Ha, thought of that last evening I should add tests in too! Will update the post.

I think there could be a simpler way to add it to the forked boot task too, but the few things I tried didn't work. Will update the post if someone suggests one.

Code of Conduct Report abuse