1. Are args for running Gradle itself
2. Is also just looked at by start scripts like the wrapper
3. Is for compiling java, that can never help for compiling Kotlin
4. Sounds reasonable except that you give
--add-opens,java.base/java.util=ALL-UNNAMED
, this is most likely not correct. I wonder that it did not complain about that syntax