Cannot use CompileModuleOptions with compileJava task : Extension of type 'CompileModuleOptions' does not exist. Currently registered extension types: [ExtraPropertiesExtension] #274
I'm trying to use tje CompileModuleOptions to add Javafx modules for test and exec task but it failed when compile gradle script.
I'm using Kotlin, Java 17 and gradle 8.3.
When adding the following lines to my kotlin script :
I get the following error message
Extension of type 'CompileModuleOptions' does not exist. Currently registered extension types: [ExtraPropertiesExtension]
I'm trying to use tje CompileModuleOptions to add Javafx modules for test and exec task but it failed when compile gradle script. I'm using Kotlin, Java 17 and gradle 8.3. When adding the following lines to my kotlin script :
I get the following error message
Extension of type 'CompileModuleOptions' does not exist. Currently registered extension types: [ExtraPropertiesExtension]
Can