{"action":"closed","issue":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/478","repository_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo","labels_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/478/comments","events_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/478/events","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/issues/478","id":125034932,"number":478,"title":"how to add build/generated-sources java files to project","user":{"login":"spark85","id":1414403,"avatar_url":"https://avatars.githubusercontent.com/u/1414403?v=3","gravatar_id":"","url":"https://api.github.com/users/spark85","html_url":"https://github.com/spark85","followers_url":"https://api.github.com/users/spark85/followers","following_url":"https://api.github.com/users/spark85/following{/other_user}","gists_url":"https://api.github.com/users/spark85/gists{/gist_id}","starred_url":"https://api.github.com/users/spark85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark85/subscriptions","organizations_url":"https://api.github.com/users/spark85/orgs","repos_url":"https://api.github.com/users/spark85/repos","events_url":"https://api.github.com/users/spark85/events{/privacy}","received_events_url":"https://api.github.com/users/spark85/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-05T19:36:00Z","updated_at":"2016-02-13T22:11:29Z","closed_at":"2016-02-13T22:11:29Z","body":"First off I want to thank you for creating this awesome plugin!  Will definitely save me hours on my project.  \r\n\r\nHow do you add the generated files to your java source files?  I have tried adding this line to my build.gradle file -- java.srcDirs += ['${project.buildDir}/generated-sources/js2p']\r\n\r\nand this is my target directory -->   targetDirectory = file(\"${project.buildDir}/generated-sources/js2p\")\r\n\r\nShould I have even have to do this?  Why aren't java files under build/generated-sources being picked up by my project? \r\n\r\nThanks!\r\nDavid"}}