{"action":"created","issue":{"url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/234","labels_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/234/comments","events_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/234/events","html_url":"https://github.com/kelemen/netbeans-gradle-project/issues/234","id":103462622,"number":234,"title":"Missing dir dependencies ","user":{"login":"gallardo","id":790448,"avatar_url":"https://avatars.githubusercontent.com/u/790448?v=3","gravatar_id":"","url":"https://api.github.com/users/gallardo","html_url":"https://github.com/gallardo","followers_url":"https://api.github.com/users/gallardo/followers","following_url":"https://api.github.com/users/gallardo/following{/other_user}","gists_url":"https://api.github.com/users/gallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallardo/subscriptions","organizations_url":"https://api.github.com/users/gallardo/orgs","repos_url":"https://api.github.com/users/gallardo/repos","events_url":"https://api.github.com/users/gallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gallardo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T09:06:30Z","updated_at":"2015-08-27T09:13:53Z","closed_at":null,"body":"For the following build script, the plugin should ideally also show the directory dependency:\r\n\r\n```groovy\r\napply plugin: 'java'\r\n\r\nrepositories {\r\n    mavenCentral()\r\n}\r\n\r\nsourceSets {\r\n    x {\r\n        compileClasspath += files(\"$buildDir/classes/main\") { builtBy 'compileJava' } \r\n        compileClasspath += files(\"lib/print.jar\")\r\n    }\r\n}\r\n\r\ndependencies {\r\n    compile 'org.slf4j:slf4j-simple:1.7.12'\r\n    xCompile 'org.slf4j:slf4j-simple:1.7.12'\r\n}\r\n```\r\n\r\n(Notice the `compileClasspath += files(\"$buildDir/classes/main\")` adding the classes directory)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/790448/9516745/0f90b9c2-4cab-11e5-9866-305a2fb10d04.png)"},"comment":{"url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/comments/135355993","html_url":"https://github.com/kelemen/netbeans-gradle-project/issues/234#issuecomment-135355993","issue_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/234","id":135355993,"user":{"login":"gallardo","id":790448,"avatar_url":"https://avatars.githubusercontent.com/u/790448?v=3","gravatar_id":"","url":"https://api.github.com/users/gallardo","html_url":"https://github.com/gallardo","followers_url":"https://api.github.com/users/gallardo/followers","following_url":"https://api.github.com/users/gallardo/following{/other_user}","gists_url":"https://api.github.com/users/gallardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gallardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gallardo/subscriptions","organizations_url":"https://api.github.com/users/gallardo/orgs","repos_url":"https://api.github.com/users/gallardo/repos","events_url":"https://api.github.com/users/gallardo/events{/privacy}","received_events_url":"https://api.github.com/users/gallardo/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T09:13:53Z","updated_at":"2015-08-27T09:13:53Z","body":"The project compiles and builds without problem. The dependency is also found by NetBeans. This would be just a cosmetic improvement. In this project, the `x.compileClasspath` looks like:\r\n\r\n    /home/alberto/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-simple/1.7.12/42..b0/slf4j-simple-1.7.12.jar\r\n    :/home/alberto/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.12/8e..17/slf4j-api-1.7.12.jar\r\n    :/home/alberto/src-tmpfs/kk4/build/classes/main\r\n    :/home/alberto/src-tmpfs/kk4/lib/print.jar"}}