{"action":"created","issue":{"url":"https://api.github.com/repos/jponge/golo-lang/issues/4","labels_url":"https://api.github.com/repos/jponge/golo-lang/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jponge/golo-lang/issues/4/comments","events_url":"https://api.github.com/repos/jponge/golo-lang/issues/4/events","html_url":"https://github.com/jponge/golo-lang/pull/4","id":101489077,"number":4,"title":"Simplified Gradle build","user":{"login":"oehme","id":1191797,"avatar_url":"https://avatars.githubusercontent.com/u/1191797?v=3","gravatar_id":"","url":"https://api.github.com/users/oehme","html_url":"https://github.com/oehme","followers_url":"https://api.github.com/users/oehme/followers","following_url":"https://api.github.com/users/oehme/following{/other_user}","gists_url":"https://api.github.com/users/oehme/gists{/gist_id}","starred_url":"https://api.github.com/users/oehme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oehme/subscriptions","organizations_url":"https://api.github.com/users/oehme/orgs","repos_url":"https://api.github.com/users/oehme/repos","events_url":"https://api.github.com/users/oehme/events{/privacy}","received_events_url":"https://api.github.com/users/oehme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-17T19:03:04Z","updated_at":"2015-08-20T07:12:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jponge/golo-lang/pulls/4","html_url":"https://github.com/jponge/golo-lang/pull/4","diff_url":"https://github.com/jponge/golo-lang/pull/4.diff","patch_url":"https://github.com/jponge/golo-lang/pull/4.patch"},"body":"I tried removing the need for \"magic folders\" as much as possible. relying on task outputs instead. This makes maintenance easier.\r\n\r\nSome things were superflous. For instance, golodoc declares that its classpath is the \"runtimeClasspath\". Thus, it does not need to explicitly depend on the \"classes\" task, because the output of the \"classes\" task is part of the \"runtimeClasspath\"\r\n\r\nThat extra variable for the maven repos looked like an unneeded indireciton. They will now always be shown so when you run `gradle tasks` you see all possible publications. Only the credentials configuration is dependent on project variables.\r\n\r\nFor even better usability, you could add a doFirst-block to the publication tasks, checking for credentials and telling the user which variables to set for the selected publication.\r\n\r\nDependency excludes are best done at the configuration level. It is less code and it will work no matter what transitive surprises some other library has =)\r\n\r\nI'd suggest splitting the buildscript into smaller scripts, one for each aspect (golo-tasks, startscripts + distro, publication)"},"comment":{"url":"https://api.github.com/repos/jponge/golo-lang/issues/comments/132914760","html_url":"https://github.com/jponge/golo-lang/pull/4#issuecomment-132914760","issue_url":"https://api.github.com/repos/jponge/golo-lang/issues/4","id":132914760,"user":{"login":"oehme","id":1191797,"avatar_url":"https://avatars.githubusercontent.com/u/1191797?v=3","gravatar_id":"","url":"https://api.github.com/users/oehme","html_url":"https://github.com/oehme","followers_url":"https://api.github.com/users/oehme/followers","following_url":"https://api.github.com/users/oehme/following{/other_user}","gists_url":"https://api.github.com/users/oehme/gists{/gist_id}","starred_url":"https://api.github.com/users/oehme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oehme/subscriptions","organizations_url":"https://api.github.com/users/oehme/orgs","repos_url":"https://api.github.com/users/oehme/repos","events_url":"https://api.github.com/users/oehme/events{/privacy}","received_events_url":"https://api.github.com/users/oehme/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T07:12:35Z","updated_at":"2015-08-20T07:12:35Z","body":"Right, I used the wrong git config. I'll amend the commits with the correct e-mail address."}}