Skip to content
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

nativeCompile fails for app generated with mn version 4 #781

Closed
timyates opened this issue Jul 17, 2023 · 0 comments · Fixed by #782
Closed

nativeCompile fails for app generated with mn version 4 #781

timyates opened this issue Jul 17, 2023 · 0 comments · Fixed by #782
Labels
type: bug Something isn't working

Comments

@timyates
Copy link
Contributor

timyates commented Jul 17, 2023

Steps to reproduce

Using mn version 4:

  1. mn create-app nativecompiletest
  2. cd nativecompiletest
  3. ./gradlew nativeCompile

Expected

Should compile a native binary into build/native/nativeCompile

Actual

Error: Main entry point class 'nativecompiletest.Application' neither found on the classpath nor on the modulepath.

https://scans.gradle.com/s/2g7kdzbtrqvmm

Workaround

If I remove the aot plugin and configuration from the build script, it compiles successfully

https://scans.gradle.com/s/krzeqjmspomja

Env:

  • Gradle 8.1.1
  • GraalVM Community OpenJDK Runtime Environment 17.0.7+7-jvmci-23.0-b12
  • OS X Ventura
  • M1 chipset
@timyates timyates added the type: bug Something isn't working label Jul 17, 2023
melix added a commit that referenced this issue Jul 17, 2023
melix added a commit that referenced this issue Jul 17, 2023
melix added a commit that referenced this issue Jul 17, 2023
melix added a commit that referenced this issue Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant