{"id":17979131,"url":"https://github.com/jakob-grabner/bitrise-step-kotlin-script","last_synced_at":"2025-08-12T12:39:29.450Z","repository":{"id":200986356,"uuid":"695027127","full_name":"jakob-grabner/bitrise-step-kotlin-script","owner":"jakob-grabner","description":"Kotlin script step for bitrise","archived":false,"fork":false,"pushed_at":"2023-12-19T09:51:04.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T00:41:29.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakob-grabner.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-22T07:40:42.000Z","updated_at":"2023-09-22T07:41:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"14f58d1f-f55a-4cb9-bfaf-0ef599c9a646","html_url":"https://github.com/jakob-grabner/bitrise-step-kotlin-script","commit_stats":null,"previous_names":["jakob-grabner/bitrise-step-kotlin-script"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jakob-grabner/bitrise-step-kotlin-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakob-grabner%2Fbitrise-step-kotlin-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakob-grabner%2Fbitrise-step-kotlin-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakob-grabner%2Fbitrise-step-kotlin-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakob-grabner%2Fbitrise-step-kotlin-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakob-grabner","download_url":"https://codeload.github.com/jakob-grabner/bitrise-step-kotlin-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakob-grabner%2Fbitrise-step-kotlin-script/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270063320,"owners_count":24520737,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-29T17:36:32.767Z","updated_at":"2025-08-12T12:39:29.424Z","avatar_url":"https://github.com/jakob-grabner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kotlin Script\n\nStep to execute kotlin script.\n\nThe step allows to execute arbitrary kotlin code. It is also possible to use external dependencies.\n\n## How to use this Step\n\n```yml\n    - git::https://github.com/jakob-grabner/bitrise-step-kotlin-script.git@main:\n        title: Kotlin Script\n        inputs:\n        - kotlin_script: |-\n            @file:Repository(\"https://repo.maven.apache.org/maven2/\") // define a repository if you need dependencies\n\n            @file:DependsOn(\"com.google.code.gson:gson:2.10.1\") // Add dependencies\n\n            import com.google.gson.Gson\n\n            data class Greeting(val greeting: String)\n\n            val jsonString = Gson().toJson(Greeting(\"Hello World!\"))\n            println(jsonString)\n            \n```\n## How to contribute to this Step\n\n1. Fork this repository\n2. `git clone` it\n3. Create a branch you'll work on\n4. To use/test the step just follow the **How to use this Step** section\n5. Do the changes you want to\n6. Run/test the step before sending your contribution\n  * You can also test the step in your `bitrise` project, either on your Mac or on [bitrise.io](https://www.bitrise.io)\n  * You just have to replace the step ID in your project's `bitrise.yml` with either a relative path, or with a git URL format\n  * (relative) path format: instead of `- original-step-id:` use `- path::./relative/path/of/script/on/your/Mac:`\n  * direct git URL format: instead of `- original-step-id:` use `- git::https://github.com/user/step.git@branch:`\n  * You can find more example of alternative step referencing at: https://github.com/bitrise-io/bitrise/blob/master/_examples/tutorials/steps-and-workflows/bitrise.yml\n7. Once you're done just commit your changes \u0026 create a Pull Request\n\n\n## Share your own Step\n\nYou can share your Step or step version with the [bitrise CLI](https://github.com/bitrise-io/bitrise). If you use the `bitrise.yml` included in this repository, all you have to do is:\n\n1. In your Terminal / Command Line `cd` into this directory (where the `bitrise.yml` of the step is located)\n2. Run: `bitrise run test` to test the step\n3. Run: `bitrise run audit-this-step` to audit the `step.yml`\n4. Check the `share-this-step` workflow in the `bitrise.yml`, and fill out the\n   `envs` if you haven't done so already (don't forget to bump the version number if this is an update\n   of your step!)\n5. Then run: `bitrise run share-this-step` to share the step (version) you specified in the `envs`\n6. Send the Pull Request, as described in the logs of `bitrise run share-this-step`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakob-grabner%2Fbitrise-step-kotlin-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakob-grabner%2Fbitrise-step-kotlin-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakob-grabner%2Fbitrise-step-kotlin-script/lists"}