{"action":"opened","issue":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/442","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/442/comments","events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/442/events","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/442","id":103906956,"number":442,"title":"Sources specified with generatedSourceDirs are not translated","user":{"login":"confile","id":64265,"avatar_url":"https://avatars.githubusercontent.com/u/64265?v=3","gravatar_id":"","url":"https://api.github.com/users/confile","html_url":"https://github.com/confile","followers_url":"https://api.github.com/users/confile/followers","following_url":"https://api.github.com/users/confile/following{/other_user}","gists_url":"https://api.github.com/users/confile/gists{/gist_id}","starred_url":"https://api.github.com/users/confile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confile/subscriptions","organizations_url":"https://api.github.com/users/confile/orgs","repos_url":"https://api.github.com/users/confile/repos","events_url":"https://api.github.com/users/confile/events{/privacy}","received_events_url":"https://api.github.com/users/confile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-30T08:07:50Z","updated_at":"2015-08-30T08:07:50Z","closed_at":null,"body":"I tried to Copy some sources in ``build/source/base``. To be translated afterwards using the following task: \r\n\r\n```\r\ntask copyBaseSources(type: Copy) {\r\n  description \"Copy all source files from majestella-base into the current project.\"\r\n  exclude '**/*processor*'  // Annotation Processors should not be copied and translated\r\n  from project(\":base\").projectDir.toString() + \"/src/main/java\"\r\n  into project.projectDir.toString() + \"/build/source/base\"\r\n}\r\n\r\ntasks.j2objcTranslate.dependsOn += copyBaseSources\r\n```\r\n\r\nWhen I do ``gradle shared:build`` only the source files in the ``src/main/java`` folder where translated.\r\n\r\n\r\nI also tried: \r\n\r\n```\r\nsourceSets {\r\n  apt{\r\n    java{\r\n      srcDir 'build/source/apt'\r\n      srcDir 'build/source/base'\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nThe same result sources in \"build/source/apt\", \"build/source/base\" where not translated.\r\n\r\nHow can I fix that?\r\n"}}