{"action":"created","issue":{"url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/issues/121","repository_url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin","labels_url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/issues/121/comments","events_url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/issues/121/events","html_url":"https://github.com/int128/gradle-swagger-generator-plugin/issues/121","id":387198847,"node_id":"MDU6SXNzdWUzODcxOTg4NDc=","number":121,"title":"example: usage with gradle5/kotlin dsl","user":{"login":"jangalinski","id":814032,"node_id":"MDQ6VXNlcjgxNDAzMg==","avatar_url":"https://avatars0.githubusercontent.com/u/814032?v=4","gravatar_id":"","url":"https://api.github.com/users/jangalinski","html_url":"https://github.com/jangalinski","followers_url":"https://api.github.com/users/jangalinski/followers","following_url":"https://api.github.com/users/jangalinski/following{/other_user}","gists_url":"https://api.github.com/users/jangalinski/gists{/gist_id}","starred_url":"https://api.github.com/users/jangalinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangalinski/subscriptions","organizations_url":"https://api.github.com/users/jangalinski/orgs","repos_url":"https://api.github.com/users/jangalinski/repos","events_url":"https://api.github.com/users/jangalinski/events{/privacy}","received_events_url":"https://api.github.com/users/jangalinski/received_events","type":"User","site_admin":false},"labels":[{"id":453557099,"node_id":"MDU6TGFiZWw0NTM1NTcwOTk=","url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-04T09:44:15Z","updated_at":"2018-12-21T22:20:48Z","closed_at":null,"author_association":"NONE","body":"I switched to gradle 5 and build.gradle.kts files ... How do I have to adopt the swaggerSources configuration block? "},"comment":{"url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/issues/comments/449512730","html_url":"https://github.com/int128/gradle-swagger-generator-plugin/issues/121#issuecomment-449512730","issue_url":"https://api.github.com/repos/int128/gradle-swagger-generator-plugin/issues/121","id":449512730,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTUxMjczMA==","user":{"login":"mywill","id":3598957,"node_id":"MDQ6VXNlcjM1OTg5NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/3598957?v=4","gravatar_id":"","url":"https://api.github.com/users/mywill","html_url":"https://github.com/mywill","followers_url":"https://api.github.com/users/mywill/followers","following_url":"https://api.github.com/users/mywill/following{/other_user}","gists_url":"https://api.github.com/users/mywill/gists{/gist_id}","starred_url":"https://api.github.com/users/mywill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mywill/subscriptions","organizations_url":"https://api.github.com/users/mywill/orgs","repos_url":"https://api.github.com/users/mywill/repos","events_url":"https://api.github.com/users/mywill/events{/privacy}","received_events_url":"https://api.github.com/users/mywill/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T22:20:48Z","updated_at":"2018-12-21T22:20:48Z","author_association":"NONE","body":"I have it working on version 2.15.0 and gradle 5 with this\r\n\r\n```\r\nswaggerSources {\r\n    create( \"qwerservice\", {\r\n        setInputFile( file(\"swagger.yml\") )\r\n        code.outputDir = file( \"$buildDir/client\" )\r\n        code.language = \"spring\"\r\n        code.additionalProperties = mapOf( \"group-id\" to \"com.qwer\",\r\n                                            \"dateLibrary\" to \"java8\",\r\n                                            \"java8\" to \"true\",\r\n                                            \"modelPackage\" to \"com.qwer.model\",\r\n                                            \"apiPackage\" to \"com.qwer.api\",\r\n                                            \"invokerPackage\" to \"com.qwer.invoker\" )\r\n    } )\r\n}\r\n```"}}
{"actor":{"display_login":"mywill"}}