{"action":"created","issue":{"url":"https://api.github.com/repos/novoda/bintray-release/issues/24","labels_url":"https://api.github.com/repos/novoda/bintray-release/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/novoda/bintray-release/issues/24/comments","events_url":"https://api.github.com/repos/novoda/bintray-release/issues/24/events","html_url":"https://github.com/novoda/bintray-release/issues/24","id":64802121,"number":24,"title":"aditional artifacts examples","user":{"login":"jcranky","id":772886,"avatar_url":"https://avatars.githubusercontent.com/u/772886?v=3","gravatar_id":"","url":"https://api.github.com/users/jcranky","html_url":"https://github.com/jcranky","followers_url":"https://api.github.com/users/jcranky/followers","following_url":"https://api.github.com/users/jcranky/following{/other_user}","gists_url":"https://api.github.com/users/jcranky/gists{/gist_id}","starred_url":"https://api.github.com/users/jcranky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcranky/subscriptions","organizations_url":"https://api.github.com/users/jcranky/orgs","repos_url":"https://api.github.com/users/jcranky/repos","events_url":"https://api.github.com/users/jcranky/events{/privacy}","received_events_url":"https://api.github.com/users/jcranky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/novoda/bintray-release/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-03-27T16:46:06Z","updated_at":"2015-04-15T12:26:33Z","closed_at":null,"body":"I'm publishing a java project, with jar, sources and javadoc. I also want to publish an extra jar file, for which I already have the custom task. The wiki mentions I should be able to configure my own publishing to do this kind of thing, but I'm not sure how. An example in the wiki would be great.\r\n\r\nI'm pretty sure I should be able to extend JavaArtifacts for that, since I what I want is that plus the new jar. Perhaps I lost because I'm new to groovy and gradle, so again, an example would help a lot.\r\n\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/novoda/bintray-release/issues/comments/93367609","html_url":"https://github.com/novoda/bintray-release/issues/24#issuecomment-93367609","issue_url":"https://api.github.com/repos/novoda/bintray-release/issues/24","id":93367609,"user":{"login":"jcranky","id":772886,"avatar_url":"https://avatars.githubusercontent.com/u/772886?v=3","gravatar_id":"","url":"https://api.github.com/users/jcranky","html_url":"https://github.com/jcranky","followers_url":"https://api.github.com/users/jcranky/followers","following_url":"https://api.github.com/users/jcranky/following{/other_user}","gists_url":"https://api.github.com/users/jcranky/gists{/gist_id}","starred_url":"https://api.github.com/users/jcranky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcranky/subscriptions","organizations_url":"https://api.github.com/users/jcranky/orgs","repos_url":"https://api.github.com/users/jcranky/repos","events_url":"https://api.github.com/users/jcranky/events{/privacy}","received_events_url":"https://api.github.com/users/jcranky/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T12:26:33Z","updated_at":"2015-04-15T12:26:33Z","body":"For a quick try, what I did:\r\n1. update bintray-release to 0.2.10:\r\n```\r\nclasspath 'com.novoda:bintray-release:0.2.10'\r\n```\r\n2. Add this import:\r\n```\r\nimport com.novoda.gradle.release.*\r\n```\r\n3. added @ouchadam 's publishing block, and set the publications as well\r\n\r\nWith that, I couldn't get the results from the ```superPublication``` to run. I executed:\r\n\r\n```\r\n./gradlew --stacktrace clean build publishMavenPublicationToMavenLocal\r\n```\r\n\r\nAnd got:\r\n\r\n```\r\n:build\r\n:generatePomFileForMavenPublication\r\n:mavenJavadocJar\r\n:mavenSourcesJar\r\n:publishMavenPublicationToMavenLocal\r\n```\r\n\r\nPerhaps I'm not doing something I should be doing?\r\n\r\nAlso, IDEA shows me the ```publishing``` inside of the ```publish``` closure as underlined gray, meaning it doesn't seem to find it."}}