{"id":16123332,"url":"https://github.com/anatawa12/kotlinscriptrunner","last_synced_at":"2025-04-06T12:15:40.279Z","repository":{"id":57716840,"uuid":"144673214","full_name":"anatawa12/KotlinScriptRunner","owner":"anatawa12","description":"The Gradle plugin to execute some Kotlin Script as a Gradle task.","archived":false,"fork":false,"pushed_at":"2020-10-17T08:21:34.000Z","size":153,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T17:51:48.127Z","etag":null,"topics":["gradle-plugin","kotlin","kotlin-script"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anatawa12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-14T05:34:56.000Z","updated_at":"2020-10-17T08:19:26.000Z","dependencies_parsed_at":"2022-09-26T21:40:21.400Z","dependency_job_id":null,"html_url":"https://github.com/anatawa12/KotlinScriptRunner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anatawa12%2FKotlinScriptRunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anatawa12%2FKotlinScriptRunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anatawa12%2FKotlinScriptRunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anatawa12%2FKotlinScriptRunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anatawa12","download_url":"https://codeload.github.com/anatawa12/KotlinScriptRunner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478329,"owners_count":20945267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gradle-plugin","kotlin","kotlin-script"],"created_at":"2024-10-09T21:15:39.503Z","updated_at":"2025-04-06T12:15:40.252Z","avatar_url":"https://github.com/anatawa12.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Kotlin Script Runner\n====\n\nThe gradle plugin to run Kotlin Script as a task.\n\n## Demo\n\nsee [example project](./example).\n\n## Usage\n\napply plugin `com.anatawa12.kotlinScriptRunner` and create task with type `com.anatawa12.kotlinScriptRunner.KotlinScriptExec`\n\n**Options**\n\n`KotlinScriptExec`\n\nThis class implements `JavaExecSpec` to configure classpath, system properties or else.\nYou can configure classpath, system properties and else like JavaExec task.\n\nOther properties are shown below:\n\n| property | type | description | default value |\n| --- | --- | --- | --- |\n| `kotlinVersion` | `String` | the version to execute kotlin script | **required** |\n| `script` | `String` | the path to kotlin script | **required** |\n| `noJdk` | `boolean` | adds `-no-jdk-reflect` to options of compiler | `false` |\n| `noReflect` | `boolean` | adds `-no-reflect` to options of compiler | `false` |\n| `noStdlib` | `boolean` | adds `-no-stdlib` to options of compiler | `false` |\n| `nowarn` | `boolean` | adds `-nowarn` to options of compiler | `false` |\n\n## Install\n\n```groovy\nplugins {\n    id(\"com.anatawa12.kotlinScriptRunner\") version \"2.0.0\"\n}\n```\n\n## Contribution\n\n1. Fork it ([http://github.com/anatawa12/KotlinScriptRunner/fork](http://github.com/anatawa12/KotlinScriptRunner/fork))\n1. Create your feature branch (git checkout -b my-new-feature)\n1. Commit your changes (git commit -am 'Add some feature')\n1. Push to the branch (git push origin my-new-feature)\n1. Create new Pull Request\n\n## Licence\n\n[Apache2.0](https://github.com/anatawa12/KotlinScriptRunner/blob/master/LICENSE)\n\n## Author\n\n[@anatawa12](https://github.com/anatawa12)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanatawa12%2Fkotlinscriptrunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanatawa12%2Fkotlinscriptrunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanatawa12%2Fkotlinscriptrunner/lists"}