{"action":"created","issue":{"url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin/issues/60","repository_url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin","labels_url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin/issues/60/comments","events_url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin/issues/60/events","html_url":"https://github.com/etiennestuder/gradle-jooq-plugin/issues/60","id":271903147,"number":60,"title":"clean task deletes all sources...","user":{"login":"amirabiri-odoro","id":24775695,"avatar_url":"https://avatars3.githubusercontent.com/u/24775695?v=4","gravatar_id":"","url":"https://api.github.com/users/amirabiri-odoro","html_url":"https://github.com/amirabiri-odoro","followers_url":"https://api.github.com/users/amirabiri-odoro/followers","following_url":"https://api.github.com/users/amirabiri-odoro/following{/other_user}","gists_url":"https://api.github.com/users/amirabiri-odoro/gists{/gist_id}","starred_url":"https://api.github.com/users/amirabiri-odoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirabiri-odoro/subscriptions","organizations_url":"https://api.github.com/users/amirabiri-odoro/orgs","repos_url":"https://api.github.com/users/amirabiri-odoro/repos","events_url":"https://api.github.com/users/amirabiri-odoro/events{/privacy}","received_events_url":"https://api.github.com/users/amirabiri-odoro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-07T16:46:08Z","updated_at":"2017-11-07T18:13:12Z","closed_at":"2017-11-07T18:05:32Z","author_association":"NONE","body":"I place my generated files inside src and commit them to version control. So I have a config like this:\r\n\r\n    jooq {\r\n        main {\r\n            ...\r\n            generator {\r\n                ...\r\n                target {\r\n                    packageName = 'com.company.service.db'\r\n                    directory   = 'src/main/java'\r\n                }\r\n            }\r\n        }\r\n    }\r\n\r\nThis way my files are generated in `src/main/java/com/company/service/db`\r\n\r\nHowever when I run the clean task, which triggers this plugin's `cleanGenerateMainJooqSchemaSource` task, it deletes `src/main/java`, which isn't desireable.."},"comment":{"url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin/issues/comments/342572263","html_url":"https://github.com/etiennestuder/gradle-jooq-plugin/issues/60#issuecomment-342572263","issue_url":"https://api.github.com/repos/etiennestuder/gradle-jooq-plugin/issues/60","id":342572263,"user":{"login":"amirabiri-odoro","id":24775695,"avatar_url":"https://avatars3.githubusercontent.com/u/24775695?v=4","gravatar_id":"","url":"https://api.github.com/users/amirabiri-odoro","html_url":"https://github.com/amirabiri-odoro","followers_url":"https://api.github.com/users/amirabiri-odoro/followers","following_url":"https://api.github.com/users/amirabiri-odoro/following{/other_user}","gists_url":"https://api.github.com/users/amirabiri-odoro/gists{/gist_id}","starred_url":"https://api.github.com/users/amirabiri-odoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirabiri-odoro/subscriptions","organizations_url":"https://api.github.com/users/amirabiri-odoro/orgs","repos_url":"https://api.github.com/users/amirabiri-odoro/repos","events_url":"https://api.github.com/users/amirabiri-odoro/events{/privacy}","received_events_url":"https://api.github.com/users/amirabiri-odoro/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T18:13:12Z","updated_at":"2017-11-07T18:13:12Z","author_association":"NONE","body":"This is incorrect. The clean task shouldn't delete `{directory}`. It should delete `{directory}/{package}`."}}
{"actor":{"display_login":"amirabiri-odoro"}}