-
Notifications
You must be signed in to change notification settings - Fork 64
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
Gradle support for agent does not work. #44
Comments
Hi, Im getting the same error with 0.9.0 version
My config:
The folder src/main/resources/META-INF/native-image is already created. is there a workaround? |
Hey @jarpz! As a workaround for 0.9, could you try the running the tests like this:
|
We got this:
I know we can customize the build but the problem is in the reflection-config.json, which are been including tests classes. Is that right? Also, the generated files are put in test/resources/** folder. those files are put in the main/resources/**, are they? |
Running
followed by
does not work but ends with
even though native files are generated:
however the plugin tries to resolve
native-build-tools/native-gradle-plugin/src/main/java/org/graalvm/buildtools/Utils.java
Line 61 in a28d187
native-build-tools/native-gradle-plugin/src/main/java/org/graalvm/buildtools/gradle/GradleUtils.java
Line 105 in a28d187
which is wrong in two places:
The
test
path is not in there but the native path will be resolved twice.Moving the agent files into
"fixes" this…
The text was updated successfully, but these errors were encountered: