{"id":36602815,"url":"https://github.com/rife2/bld-kotlin","last_synced_at":"2026-01-12T08:40:29.120Z","repository":{"id":205404670,"uuid":"714157840","full_name":"rife2/bld-kotlin","owner":"rife2","description":"Kotlin Extension for bld","archived":false,"fork":false,"pushed_at":"2025-09-10T14:39:48.000Z","size":637,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T18:31:48.968Z","etag":null,"topics":["bld","build-system","build-tool","build-tool-plugin","dokka","extension","java","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Java","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/rife2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-11-04T04:29:51.000Z","updated_at":"2025-09-10T14:39:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"612b5f2c-615f-4107-afe0-32239cfe5766","html_url":"https://github.com/rife2/bld-kotlin","commit_stats":null,"previous_names":["rife2/bld-kotlin"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/rife2/bld-kotlin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rife2","download_url":"https://codeload.github.com/rife2/bld-kotlin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-kotlin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bld","build-system","build-tool","build-tool-plugin","dokka","extension","java","kotlin"],"created_at":"2026-01-12T08:40:28.509Z","updated_at":"2026-01-12T08:40:29.108Z","avatar_url":"https://github.com/rife2.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Kotlin](https://kotlinlang.org/) Extension for [b\u003cspan style=\"color:orange\"\u003el\u003c/span\u003ed](https://rife2.com/bld)\n\n[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)\n[![Kotlin](https://img.shields.io/badge/kotlin-2.0.21%2B-7f52ff.svg)](https://kotlinlang.org)\n[![bld](https://img.shields.io/badge/2.3.0-FA9052?label=bld\u0026labelColor=2392FF)](https://rife2.com/bld)\n[![Release](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.rife2.com%2Freleases%2Fcom%2Fuwyn%2Frife2%2Fbld-kotlin%2Fmaven-metadata.xml\u0026color=blue)](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-kotlin)\n[![Snapshot](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.rife2.com%2Fsnapshots%2Fcom%2Fuwyn%2Frife2%2Fbld-kotlin%2Fmaven-metadata.xml\u0026label=snapshot)](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-kotlin)\n[![GitHub CI](https://github.com/rife2/bld-kotlin/actions/workflows/bld.yml/badge.svg)](https://github.com/rife2/bld-kotlin/actions/workflows/bld.yml)\n\nTo install the latest version, add the following to the `lib/bld/bld-wrapper.properties` file:\n\n```properties\nbld.extension-kotlin=com.uwyn.rife2:bld-kotlin\n```\n\nFor more information, please refer to the [extensions](https://github.com/rife2/bld/wiki/Extensions) and [support](https://github.com/rife2/bld/wiki/Kotlin-Support) documentation.\n\n## Compile Kotlin Source Code\n\nTo compile the source code located in `src/main/kotlin` and `src/test/kotlin` from the current project add the following to the build file:\n\n```java\n\n@BuildCommand(summary = \"Compiles the Kotlin project\")\npublic void compile() throws Exception {\n    new CompileKotlinOperation()\n            .fromProject(this)\n            .execute();\n}\n```\n\n```console\n./bld compile\n```\n\n- [View Examples Project](https://github.com/rife2/bld-kotlin/tree/main/examples/)\n- [View Template Project](https://github.com/rife2/kotlin-bld-example)\n\nPlease check\nthe [Compile Operation documentation](https://rife2.github.io/bld-kotlin/rife/bld/extension/CompileKotlinOperation.html#method-summary)\nfor all available configuration options.\n\n## Kotlin Compiler Requirement\n\nPlease make sure the Kotlin compiler is [installed](https://kotlinlang.org/docs/command-line.html#install-the-compiler).\n\nThe extension will look in common locations such as:\n\n - `KOTLIN_HOME`\n - `PATH`\n - [SDKMAN!](https://sdkman.io/)\n - [Homebrew](https://brew.sh/)\n - [JetBrains Toolbox](https://www.jetbrains.com/toolbox-app/) (IntelliJ IDEA, Android Studio)\n - etc.\n\nYou can also manually configure the Kotlin home location as follows:\n\n```java\n\n@BuildCommand(summary = \"Compiles the Kotlin project\")\npublic void compile() throws Exception {\n    new CompileKotlinOperation()\n            .fromProject(this)\n            .kotlinHome(\"path/to/kotlin\")\n            .execute();\n}\n```\n\nThe Kotlin compiler executable can also be specified directly:\n\n```java\n\n@BuildCommand(summary = \"Compiles the Kotlin project\")\npublic void compile() throws Exception {\n    new CompileKotlinOperation()\n            .fromProject(this)\n            .kotlinc(\"/usr/bin/kotlinc\")\n            .execute();\n}\n```\n\nWhile older version of Kotlin are likely working with the extension, only version 2.0.21 or higher are officially\nsupported.\n\n## Template Project\n\nThere is also a [Template Project](https://github.com/rife2/kotlin-bld-example) with support for\nthe [Dokka](https://github.com/rife2/bld-dokka) and [Detekt](https://github.com/rife2/bld-detekt) extensions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frife2%2Fbld-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frife2%2Fbld-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frife2%2Fbld-kotlin/lists"}