{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/issues/236","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/issues/236/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/issues/236/events","html_url":"https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/236","id":328566002,"node_id":"MDU6SXNzdWUzMjg1NjYwMDI=","number":236,"title":"Leverage Action<T> instead of a Closure<?> for better Kotlin DSL compatibility","user":{"login":"sdeleuze","id":141109,"node_id":"MDQ6VXNlcjE0MTEwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/141109?v=4","gravatar_id":"","url":"https://api.github.com/users/sdeleuze","html_url":"https://github.com/sdeleuze","followers_url":"https://api.github.com/users/sdeleuze/followers","following_url":"https://api.github.com/users/sdeleuze/following{/other_user}","gists_url":"https://api.github.com/users/sdeleuze/gists{/gist_id}","starred_url":"https://api.github.com/users/sdeleuze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdeleuze/subscriptions","organizations_url":"https://api.github.com/users/sdeleuze/orgs","repos_url":"https://api.github.com/users/sdeleuze/repos","events_url":"https://api.github.com/users/sdeleuze/events{/privacy}","received_events_url":"https://api.github.com/users/sdeleuze/received_events","type":"User","site_admin":false},"labels":[{"id":980857693,"node_id":"MDU6TGFiZWw5ODA4NTc2OTM=","url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/labels/2.0.x","name":"2.0.x","color":"bfdadc","default":false},{"id":394009576,"node_id":"MDU6TGFiZWwzOTQwMDk1NzY=","url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/labels/documentation","name":"documentation","color":"5319e7","default":false},{"id":154046421,"node_id":"MDU6TGFiZWwxNTQwNDY0MjE=","url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/labels/improvement","name":"improvement","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/milestones/7","html_url":"https://github.com/asciidoctor/asciidoctor-gradle-plugin/milestone/7","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/milestones/7/labels","id":3166835,"node_id":"MDk6TWlsZXN0b25lMzE2NjgzNQ==","number":7,"title":"2.0.0","description":"","creator":{"login":"aalmiray","id":13969,"node_id":"MDQ6VXNlcjEzOTY5","avatar_url":"https://avatars1.githubusercontent.com/u/13969?v=4","gravatar_id":"","url":"https://api.github.com/users/aalmiray","html_url":"https://github.com/aalmiray","followers_url":"https://api.github.com/users/aalmiray/followers","following_url":"https://api.github.com/users/aalmiray/following{/other_user}","gists_url":"https://api.github.com/users/aalmiray/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmiray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmiray/subscriptions","organizations_url":"https://api.github.com/users/aalmiray/orgs","repos_url":"https://api.github.com/users/aalmiray/repos","events_url":"https://api.github.com/users/aalmiray/events{/privacy}","received_events_url":"https://api.github.com/users/aalmiray/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":6,"state":"open","created_at":"2018-03-06T18:40:04Z","updated_at":"2018-11-16T09:12:54Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-06-01T15:34:14Z","updated_at":"2018-11-21T13:30:00Z","closed_at":null,"author_association":"NONE","body":"It would be nice to update the plugin in order to leverage `Action<T>` instead of a `Closure<?>` for better Kotlin DSL compatibility. I guess that can also help on Groovy DSL side."},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/issues/comments/440662271","html_url":"https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/236#issuecomment-440662271","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor-gradle-plugin/issues/236","id":440662271,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDY2MjI3MQ==","user":{"login":"ysb33r","id":907624,"node_id":"MDQ6VXNlcjkwNzYyNA==","avatar_url":"https://avatars1.githubusercontent.com/u/907624?v=4","gravatar_id":"","url":"https://api.github.com/users/ysb33r","html_url":"https://github.com/ysb33r","followers_url":"https://api.github.com/users/ysb33r/followers","following_url":"https://api.github.com/users/ysb33r/following{/other_user}","gists_url":"https://api.github.com/users/ysb33r/gists{/gist_id}","starred_url":"https://api.github.com/users/ysb33r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysb33r/subscriptions","organizations_url":"https://api.github.com/users/ysb33r/orgs","repos_url":"https://api.github.com/users/ysb33r/repos","events_url":"https://api.github.com/users/ysb33r/events{/privacy}","received_events_url":"https://api.github.com/users/ysb33r/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T13:30:00Z","updated_at":"2018-11-21T13:30:00Z","author_association":"MEMBER","body":"@jmfayard The contribution would be greatly appreciated. For a start the easiest is to work off `development-2.0` branch. In the various subprojects there will be `*/src/gradleTest` fodlers which contains full Gradle projects. The easiest it write equivalent `build.gradle.kts` files and drop them alongside the `build.gradle` files. GradleTest will thej automatically also perform a Kotlin DSL test.\r\n\r\nThe best starting point will be `asciidoctor-gradle-jvm/src/gradleTest/complex-jvm-setup/build.gradle`."}}
{"actor":{"display_login":"ysb33r"}}