{"action":"created","issue":{"url":"https://api.github.com/repos/srs/gradle-node-plugin/issues/119","repository_url":"https://api.github.com/repos/srs/gradle-node-plugin","labels_url":"https://api.github.com/repos/srs/gradle-node-plugin/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/srs/gradle-node-plugin/issues/119/comments","events_url":"https://api.github.com/repos/srs/gradle-node-plugin/issues/119/events","html_url":"https://github.com/srs/gradle-node-plugin/issues/119","id":162373722,"number":119,"title":"download nodejs from a local folder ?","user":{"login":"kbjp2","id":16127494,"avatar_url":"https://avatars.githubusercontent.com/u/16127494?v=3","gravatar_id":"","url":"https://api.github.com/users/kbjp2","html_url":"https://github.com/kbjp2","followers_url":"https://api.github.com/users/kbjp2/followers","following_url":"https://api.github.com/users/kbjp2/following{/other_user}","gists_url":"https://api.github.com/users/kbjp2/gists{/gist_id}","starred_url":"https://api.github.com/users/kbjp2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbjp2/subscriptions","organizations_url":"https://api.github.com/users/kbjp2/orgs","repos_url":"https://api.github.com/users/kbjp2/repos","events_url":"https://api.github.com/users/kbjp2/events{/privacy}","received_events_url":"https://api.github.com/users/kbjp2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-27T04:51:16Z","updated_at":"2016-06-27T09:31:00Z","closed_at":null,"body":"Hi,\r\nMy company CI server doesn't have access to internet (even though proxy), and I would like to avoid installing a global nodejs instance on that box. Hence I tried to download the exe node package (I'm using windows) through: \r\n`distBaseUrl = \"file:/${projectDir}/repo/nodejs\"`\r\nand have my node exe file installed under:\r\n`${projectDir}/repo/nodejs/nodejs/v4.4.5/win-x64/node.exe`\r\nThat \"almost\" works in the sense that the exe file gets copied to the local .gradle folder, however after that I get:\r\n`         > Could not get resource 'https://repo1.maven.org/maven2/org/nodejs/node/4.4.5/node-4.4.5.pom'.`\r\nwhich seems quite strange as https://nodejs.org/dist/ doesn't have any pom file either.\r\nIs there a way to make this local \"download\" to work ?\r\nThank you very much in advance for your feedback and your expertise.\r\nRegards\r\nkbjp2"},"comment":{"url":"https://api.github.com/repos/srs/gradle-node-plugin/issues/comments/228696865","html_url":"https://github.com/srs/gradle-node-plugin/issues/119#issuecomment-228696865","issue_url":"https://api.github.com/repos/srs/gradle-node-plugin/issues/119","id":228696865,"user":{"login":"srs","id":45278,"avatar_url":"https://avatars.githubusercontent.com/u/45278?v=3","gravatar_id":"","url":"https://api.github.com/users/srs","html_url":"https://github.com/srs","followers_url":"https://api.github.com/users/srs/followers","following_url":"https://api.github.com/users/srs/following{/other_user}","gists_url":"https://api.github.com/users/srs/gists{/gist_id}","starred_url":"https://api.github.com/users/srs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srs/subscriptions","organizations_url":"https://api.github.com/users/srs/orgs","repos_url":"https://api.github.com/users/srs/repos","events_url":"https://api.github.com/users/srs/events{/privacy}","received_events_url":"https://api.github.com/users/srs/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T09:31:00Z","updated_at":"2016-06-27T09:31:00Z","body":"I verified it and it should work. The only thing is that when it does not find the node binary it will delegate to the next repo in chain. This is fixed for #120 . \r\n\r\nI verified with the following setup and it works as expected. You could try version 0.13 when it's out (within a couple of days) if you cannot get this to work. \r\n\r\n```\r\nnode {\r\n  ...\r\n  distBaseUrl = \"file:/${projectDir}/repo/nodejs\"\r\n}\r\n```\r\n\r\n"}}
{"actor":{"display_login":"srs"}}