You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An exception occurred applying plugin request [id: 'com.gluonhq.gluonfx-gradle-plugin', version: '1.0.8']
Failed to apply plugin 'com.gluonhq.gluonfx-gradle-plugin'.
Could not create task ':nativeRunAgent'.
> Could not create task of type 'NativeRunAgentTask'.
> javafxplugin:configJavafxRun task not found.
For those whow will end up here via google. As found here:
If i create a clean project and only adding id 'com.gluonhq.gluonfx-gradle-plugin' version '1.0.7' then i got following error message:
Caused by: org.gradle.api.tasks.TaskInstantiationException: Could not create task of type 'NativeRunAgentTask'.
...
Caused by: org.gradle.api.GradleException: javafxplugin:configJavafxRun task not found.
i added the javafxplugin manually id 'org.openjfx.javafxplugin' version '0.0.10'
The manual inclusion of javafx plugin provided the necessary task for my gradle configuration
What is the goal here anyway? If it is just the packaging, then you won't need this plugin because that is already integrated into the Compose Gradle plugin. If it is about creating a binary executable, then this will probably not work anyway because Compose for desktop needs AWT and that is not yet fully supported by GraalVM/native-image and there is an issue with the loading of the SKIA library.
I am trying to convert a Compose for Desktop project to native image but after adding Gradle plugin I am getting this error :
Build file '/Users/sudharsanarajalingam/RageshAntony/idea/desktopGralComp/build.gradle.kts' line: 5
An exception occurred applying plugin request [id: 'com.gluonhq.gluonfx-gradle-plugin', version: '1.0.8']
Does gluonfx support Compose for Desktop ?
my Gradle
The text was updated successfully, but these errors were encountered: