{"action":"created","issue":{"url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles/issues/67","repository_url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles","labels_url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles/issues/67/comments","events_url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles/issues/67/events","html_url":"https://github.com/micronaut-projects/micronaut-profiles/issues/67","id":357103827,"node_id":"MDU6SXNzdWUzNTcxMDM4Mjc=","number":67,"title":"Support for Graal Native image in CLI","user":{"login":"graemerocher","id":66626,"node_id":"MDQ6VXNlcjY2NjI2","avatar_url":"https://avatars2.githubusercontent.com/u/66626?v=4","gravatar_id":"","url":"https://api.github.com/users/graemerocher","html_url":"https://github.com/graemerocher","followers_url":"https://api.github.com/users/graemerocher/followers","following_url":"https://api.github.com/users/graemerocher/following{/other_user}","gists_url":"https://api.github.com/users/graemerocher/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerocher/subscriptions","organizations_url":"https://api.github.com/users/graemerocher/orgs","repos_url":"https://api.github.com/users/graemerocher/repos","events_url":"https://api.github.com/users/graemerocher/events{/privacy}","received_events_url":"https://api.github.com/users/graemerocher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"graemerocher","id":66626,"node_id":"MDQ6VXNlcjY2NjI2","avatar_url":"https://avatars2.githubusercontent.com/u/66626?v=4","gravatar_id":"","url":"https://api.github.com/users/graemerocher","html_url":"https://github.com/graemerocher","followers_url":"https://api.github.com/users/graemerocher/followers","following_url":"https://api.github.com/users/graemerocher/following{/other_user}","gists_url":"https://api.github.com/users/graemerocher/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerocher/subscriptions","organizations_url":"https://api.github.com/users/graemerocher/orgs","repos_url":"https://api.github.com/users/graemerocher/repos","events_url":"https://api.github.com/users/graemerocher/events{/privacy}","received_events_url":"https://api.github.com/users/graemerocher/received_events","type":"User","site_admin":false},"assignees":[{"login":"graemerocher","id":66626,"node_id":"MDQ6VXNlcjY2NjI2","avatar_url":"https://avatars2.githubusercontent.com/u/66626?v=4","gravatar_id":"","url":"https://api.github.com/users/graemerocher","html_url":"https://github.com/graemerocher","followers_url":"https://api.github.com/users/graemerocher/followers","following_url":"https://api.github.com/users/graemerocher/following{/other_user}","gists_url":"https://api.github.com/users/graemerocher/gists{/gist_id}","starred_url":"https://api.github.com/users/graemerocher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graemerocher/subscriptions","organizations_url":"https://api.github.com/users/graemerocher/orgs","repos_url":"https://api.github.com/users/graemerocher/repos","events_url":"https://api.github.com/users/graemerocher/events{/privacy}","received_events_url":"https://api.github.com/users/graemerocher/received_events","type":"User","site_admin":false},{"login":"ZacharyKlein","id":114379,"node_id":"MDQ6VXNlcjExNDM3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/114379?v=4","gravatar_id":"","url":"https://api.github.com/users/ZacharyKlein","html_url":"https://github.com/ZacharyKlein","followers_url":"https://api.github.com/users/ZacharyKlein/followers","following_url":"https://api.github.com/users/ZacharyKlein/following{/other_user}","gists_url":"https://api.github.com/users/ZacharyKlein/gists{/gist_id}","starred_url":"https://api.github.com/users/ZacharyKlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZacharyKlein/subscriptions","organizations_url":"https://api.github.com/users/ZacharyKlein/orgs","repos_url":"https://api.github.com/users/ZacharyKlein/repos","events_url":"https://api.github.com/users/ZacharyKlein/events{/privacy}","received_events_url":"https://api.github.com/users/ZacharyKlein/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-09-05T07:42:45Z","updated_at":"2018-09-13T20:14:40Z","closed_at":null,"author_association":"MEMBER","body":"We should create a `graal-native-image` profile that sets up the basics needed to build a Graal native image.\r\n\r\nAn example project can be found at https://github.com/graemerocher/micronaut-graal-experiments/tree/master/hello-world-java\r\n\r\nThe changes required are:\r\n\r\n1. A `runtimeOnly` reference to the `graal` dependency https://github.com/graemerocher/micronaut-graal-experiments/blob/master/hello-world-java/build.gradle#L45\r\n2. A `compileOnly` reference to the SVM dependency https://github.com/graemerocher/micronaut-graal-experiments/blob/master/hello-world-java/build.gradle#L46\r\n3. A `NettySubstitutions` java file in `src/main/java` (location can be the same as the application package) https://github.com/graemerocher/micronaut-graal-experiments/blob/master/hello-world-java/src/main/java/netty/svm/substitutions/NettySubstitutions.java\r\n4. A `build-native-image.sh` script https://github.com/graemerocher/micronaut-graal-experiments/blob/master/hello-world-java/build-native-image.sh\r\n\r\nNote that Graal only works on Mac OS and Linux so one wrinkle is no Windows support."},"comment":{"url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles/issues/comments/421138101","html_url":"https://github.com/micronaut-projects/micronaut-profiles/issues/67#issuecomment-421138101","issue_url":"https://api.github.com/repos/micronaut-projects/micronaut-profiles/issues/67","id":421138101,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTEzODEwMQ==","user":{"login":"ZacharyKlein","id":114379,"node_id":"MDQ6VXNlcjExNDM3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/114379?v=4","gravatar_id":"","url":"https://api.github.com/users/ZacharyKlein","html_url":"https://github.com/ZacharyKlein","followers_url":"https://api.github.com/users/ZacharyKlein/followers","following_url":"https://api.github.com/users/ZacharyKlein/following{/other_user}","gists_url":"https://api.github.com/users/ZacharyKlein/gists{/gist_id}","starred_url":"https://api.github.com/users/ZacharyKlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZacharyKlein/subscriptions","organizations_url":"https://api.github.com/users/ZacharyKlein/orgs","repos_url":"https://api.github.com/users/ZacharyKlein/repos","events_url":"https://api.github.com/users/ZacharyKlein/events{/privacy}","received_events_url":"https://api.github.com/users/ZacharyKlein/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T20:14:40Z","updated_at":"2018-09-13T20:14:40Z","author_association":"CONTRIBUTOR","body":"@graemerocher fixed in https://github.com/micronaut-projects/micronaut-core/commit/e5231ca3f4084f5b4fb79efe6a2ccf34868367db"}}
{"actor":{"display_login":"ZacharyKlein"}}