{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/kotlin-dsl/issues/764","repository_url":"https://api.github.com/repos/gradle/kotlin-dsl","labels_url":"https://api.github.com/repos/gradle/kotlin-dsl/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/gradle/kotlin-dsl/issues/764/comments","events_url":"https://api.github.com/repos/gradle/kotlin-dsl/issues/764/events","html_url":"https://github.com/gradle/kotlin-dsl/issues/764","id":305999012,"number":764,"title":"Tasks for Simple Kotlin/Java Classes","user":{"login":"ConnectionistSystems","id":37450875,"avatar_url":"https://avatars1.githubusercontent.com/u/37450875?v=4","gravatar_id":"","url":"https://api.github.com/users/ConnectionistSystems","html_url":"https://github.com/ConnectionistSystems","followers_url":"https://api.github.com/users/ConnectionistSystems/followers","following_url":"https://api.github.com/users/ConnectionistSystems/following{/other_user}","gists_url":"https://api.github.com/users/ConnectionistSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnectionistSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnectionistSystems/subscriptions","organizations_url":"https://api.github.com/users/ConnectionistSystems/orgs","repos_url":"https://api.github.com/users/ConnectionistSystems/repos","events_url":"https://api.github.com/users/ConnectionistSystems/events{/privacy}","received_events_url":"https://api.github.com/users/ConnectionistSystems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-16T16:42:36Z","updated_at":"2018-03-19T14:48:09Z","closed_at":null,"author_association":"NONE","body":"<!--- Tasks for Simple Kotlin/Java Classes -->\r\n\r\nI'm trying to create tasks for simple kotlin/java classes. I followed something similar to the helloworld example. I know for example in groovy you can do something  \"project.task(\"my Task\").\r\n\r\nSo I need to add a task that would enable the kotlin file to be executed.\r\n\r\nThank you in advance!"},"comment":{"url":"https://api.github.com/repos/gradle/kotlin-dsl/issues/comments/374238330","html_url":"https://github.com/gradle/kotlin-dsl/issues/764#issuecomment-374238330","issue_url":"https://api.github.com/repos/gradle/kotlin-dsl/issues/764","id":374238330,"user":{"login":"ConnectionistSystems","id":37450875,"avatar_url":"https://avatars1.githubusercontent.com/u/37450875?v=4","gravatar_id":"","url":"https://api.github.com/users/ConnectionistSystems","html_url":"https://github.com/ConnectionistSystems","followers_url":"https://api.github.com/users/ConnectionistSystems/followers","following_url":"https://api.github.com/users/ConnectionistSystems/following{/other_user}","gists_url":"https://api.github.com/users/ConnectionistSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnectionistSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnectionistSystems/subscriptions","organizations_url":"https://api.github.com/users/ConnectionistSystems/orgs","repos_url":"https://api.github.com/users/ConnectionistSystems/repos","events_url":"https://api.github.com/users/ConnectionistSystems/events{/privacy}","received_events_url":"https://api.github.com/users/ConnectionistSystems/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T14:48:09Z","updated_at":"2018-03-19T14:48:09Z","author_association":"NONE","body":"This is closer to what I'm looking for. But instead of doing gradle run task, I want my own custom task. \r\n\r\nExample\r\n\r\nI have kotlin or java file called. PrintToolsList.kt\r\n\r\nI want a task to click on or run in terminal to run this PrintToolsList.\r\n\r\nWhat code should I put in the gradle.build to run a similar file above? \r\n\r\nWould I have to run this in JVM?\r\n\r\nThanks!"}}
{"actor":{"display_login":"ConnectionistSystems"}}