{"id":39100137,"url":"https://github.com/xpdustry/kotlin-runtime","last_synced_at":"2026-04-15T01:02:51.414Z","repository":{"id":122880981,"uuid":"471650739","full_name":"xpdustry/kotlin-runtime","owner":"xpdustry","description":"A mod containing the necessary runtime libraries for Kotlin mods/plugins.","archived":false,"fork":false,"pushed_at":"2026-01-16T21:13:43.000Z","size":466,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-17T09:11:40.177Z","etag":null,"topics":["library","mindustry","mindustry-mod","mindustry-plugin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/xpdustry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"xpdustry"}},"created_at":"2022-03-19T09:37:59.000Z","updated_at":"2026-01-16T21:13:47.000Z","dependencies_parsed_at":"2023-10-12T00:02:32.788Z","dependency_job_id":"8edc68b8-e674-42a3-b653-c532c9f2fef1","html_url":"https://github.com/xpdustry/kotlin-runtime","commit_stats":null,"previous_names":["xpdustry/kotlin-runtime"],"tags_count":18,"template":false,"template_full_name":"xpdustry/template-plugin","purl":"pkg:github/xpdustry/kotlin-runtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdustry%2Fkotlin-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdustry%2Fkotlin-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdustry%2Fkotlin-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdustry%2Fkotlin-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpdustry","download_url":"https://codeload.github.com/xpdustry/kotlin-runtime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdustry%2Fkotlin-runtime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["library","mindustry","mindustry-mod","mindustry-plugin"],"created_at":"2026-01-17T19:03:55.409Z","updated_at":"2026-04-15T01:02:51.361Z","avatar_url":"https://github.com/xpdustry.png","language":"Kotlin","funding_links":["https://github.com/sponsors/xpdustry"],"categories":[],"sub_categories":[],"readme":"#  kotlin-runtime\n\n[![Downloads](https://img.shields.io/github/downloads/xpdustry/kotlin-runtime/total?color=008080\u0026label=Downloads)](https://github.com/xpdustry/kotlin-runtime/releases)\n[![Mindustry 8.0](https://img.shields.io/badge/Mindustry-8.0-008080)](https://github.com/Anuken/Mindustry/releases)\n[![Discord](https://img.shields.io/discord/519293558599974912?color=008080\u0026label=Discord)](https://discord.xpdustry.com)\n\n## Description\n\nThis mod allows you to write kotlin mods/plugins without having to ship the kotlin runtime.\nThus avoiding conflicts with other mods/plugins.\nIt currently comes with kotlin version `2.3.20` and the following libraries :\n\n- The standard library (jdk8)\n- The reflection library\n- The coroutines library\n- The serialization library (json only)\n- The kotlinx datetime library (for compat)\n\nIf you want to use other kotlin libraries, don't mind creating an issue.\n\nThis mod also supports android, although you should still avoid certain java 8 features.\n\n## Usage\n\nBesides downloading this mod alongside your mod/plugin,\nyou need to also make sure you do not include the kotlin stdlib when compiling your project.\nTo do so, just add the following in your build script:\n\n````gradle\nconfigurations.runtimeClasspath {\n    exclude(\"org.jetbrains.kotlin\")\n    exclude(\"org.jetbrains.kotlinx\")\n}\n````\n\nOr if you need precise exclusions:\n\n```gradle\nconfigurations.runtimeClasspath {\n    exclude(\"org.jetbrains.kotlin\", \"kotlin-stdlib\")\n    exclude(\"org.jetbrains.kotlin\", \"kotlin-stdlib-common\")\n    exclude(\"org.jetbrains.kotlin\", \"kotlin-stdlib-jdk8\")\n    exclude(\"org.jetbrains.kotlin\", \"kotlin-reflect\")\n    // Add the following lines if you use coroutines\n    exclude(\"org.jetbrains.kotlinx\", \"kotlinx-coroutines-core\")\n    exclude(\"org.jetbrains.kotlinx\", \"kotlinx-coroutines-jdk8\")\n    // Add the following line if you use serialization\n    exclude(\"org.jetbrains.kotlinx\", \"kotlinx-serialization-core\")\n    exclude(\"org.jetbrains.kotlinx\", \"kotlinx-serialization-json\")\n    // Add the following line if you use datetime\n    exclude(\"org.jetbrains.kotlinx\", \"kotlinx-datetime\")\n}\n```\n\n## Requirements\n\nThis mod requires Mindustry v157 or later and Java 8 or later.\n\n## Building\n\n- `./gradlew :mergeJar` to only compile the mod (it will be located at `build/libs/kotlin-runtime.jar`).\n- `./gradlew :runMindustryServer` to run the mod in a local Mindustry server.\n- `./gradlew :runMindustryClient` to run a local Mindustry client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpdustry%2Fkotlin-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpdustry%2Fkotlin-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpdustry%2Fkotlin-runtime/lists"}