{"id":27928534,"url":"https://github.com/falsepattern/gradlezigbuild","last_synced_at":"2025-08-30T12:36:55.851Z","repository":{"id":291635933,"uuid":"977747724","full_name":"FalsePattern/GradleZigBuild","owner":"FalsePattern","description":"A gradle plugin for integrating with the zig build system and zig toolchain management.","archived":false,"fork":false,"pushed_at":"2025-05-07T09:17:31.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T23:04:54.870Z","etag":null,"topics":["gradle","gradle-kotlin-dsl","gradle-plugin","gradle-zig","zig","ziglang"],"latest_commit_sha":null,"homepage":"https://plugins.gradle.org/plugin/com.falsepattern.zigbuild","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FalsePattern.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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}},"created_at":"2025-05-04T21:59:58.000Z","updated_at":"2025-06-08T15:36:39.000Z","dependencies_parsed_at":"2025-05-05T19:37:54.916Z","dependency_job_id":"b37c9955-6c43-4407-bbf0-7a968deb3c8b","html_url":"https://github.com/FalsePattern/GradleZigBuild","commit_stats":null,"previous_names":["falsepattern/gradlezigbuild"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FalsePattern/GradleZigBuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalsePattern%2FGradleZigBuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalsePattern%2FGradleZigBuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalsePattern%2FGradleZigBuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalsePattern%2FGradleZigBuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FalsePattern","download_url":"https://codeload.github.com/FalsePattern/GradleZigBuild/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FalsePattern%2FGradleZigBuild/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262864124,"owners_count":23376455,"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","gradle-kotlin-dsl","gradle-plugin","gradle-zig","zig","ziglang"],"created_at":"2025-05-07T02:40:20.924Z","updated_at":"2025-06-30T23:05:00.338Z","avatar_url":"https://github.com/FalsePattern.png","language":"Kotlin","readme":"# Gradle ZigBuild\n\n\u003ca rel=\"license\" href=\"https://www.gnu.org/licenses/lgpl-3.0.en.html\"\u003e\u003cimg alt=\"LGPLv3 logo\" style=\"border-width:0\" src=\"https://www.gnu.org/graphics/lgplv3-with-text-154x68.png\" /\u003e\u003c/a\u003e\n## Author: FalsePattern\n## License: GNU LGPLv3.0-only\n\nA gradle plugin that adds integration with zig toolchains, and preliminary integration with the zig build system.\n\n## Setup\n\nYou can install the plugin by adding it in your build.gradle like so:\n\n```kotlin\nplugins {\n    id(\"com.falsepattern.zigbuild\") version \"VERSION_GOES_HERE\"\n}\n```\n\nThe plugin also ships with a default repository for automatically downloading zig toolchains (`https://ziglang.org/download/`), however, you will need to add the above lines to\nyour settings.gradle too.\n\nIf you don't add it to your settings.gradle, ZigBuild will look for zig toolchains in your PATH, and the following well-known locations:\n- Windows:\n  - `%LOCALAPPDATA%/zig`\n  - `%LOCALAPPDATA%/zigup`\n  - `%HOME%/.zig`\n- Linux if XDG_DATA_HOME is set:\n  - `$XDG_DATA_HOME/zig`\n  - `$XDG_DATA_HOME/zigup`\n  - `~/.zig`\n- Linux if XDG_DATA_HOME is not set:\n  - `~/.local/share/zig`\n  - `~/.local/share/zigup`\n  - `~/.zig`\n- MacOS:\n  - `~/Library/zig`\n  - `~/Library/zigup`\n  - `~/.zig`\n\nThis is identical to the default toolchain search/installation logic of [ZigBrains](https://github.com/falsepattern/zigbrains), so this effectively just integrates\ntoolchain management with it.\n\nIf you want to disable this autodetection, you can set `scanSystem` inside the `zig` project extension to false:\n```kotlin\nzig {\n  scanSystem = false\n}\n```\n\nSpecific toolchains can also be acquired using `zig.compilerFor`. This compiler can be used as-is for `Exec` tasks, or\nwith some presets in the `ZigCompileTask` task.\n\nFor more information, you can check the `ZigBuild-test` subproject, which has a zig 0.14.0 example project hooked up to gradle.\n\n## Special Thanks\n\nA large part of this plugin is based on [ZigGradle](https://github.com/lukebemishprojects/ZigGradle) ported to kotlin, and heavily tweaked for better build.zig integration.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalsepattern%2Fgradlezigbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalsepattern%2Fgradlezigbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalsepattern%2Fgradlezigbuild/lists"}