{"id":13444291,"url":"https://github.com/bazelbuild/examples","last_synced_at":"2025-03-01T11:44:10.000Z","repository":{"id":30969502,"uuid":"34527691","full_name":"bazelbuild/examples","owner":"bazelbuild","description":"Examples for Bazel","archived":false,"fork":false,"pushed_at":"2025-02-18T19:31:15.000Z","size":2709,"stargazers_count":857,"open_issues_count":88,"forks_count":521,"subscribers_count":55,"default_branch":"main","last_synced_at":"2025-02-18T20:32:54.769Z","etag":null,"topics":["bazel","examples"],"latest_commit_sha":null,"homepage":"http://bazel.build","language":"Starlark","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/bazelbuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"bazel-rules-authors-sig"}},"created_at":"2015-04-24T15:53:03.000Z","updated_at":"2025-02-18T19:31:21.000Z","dependencies_parsed_at":"2023-10-16T22:22:34.744Z","dependency_job_id":"4fb462fd-e9f0-451a-ad26-9065c874e4f1","html_url":"https://github.com/bazelbuild/examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelbuild","download_url":"https://codeload.github.com/bazelbuild/examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241361398,"owners_count":19950379,"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":["bazel","examples"],"created_at":"2024-07-31T03:02:23.831Z","updated_at":"2025-03-01T11:44:09.977Z","avatar_url":"https://github.com/bazelbuild.png","language":"Starlark","readme":"# Bazel examples and tutorials\n\nA collection of examples of how to use the Bazel build system.\n\n## Introductory tutorials\n\nSome tutorials under \u003chttps://bazel.build/start\u003e point to code in this repository:\n\n * [C++ basics](/cpp-tutorial)\n   \u003cbr/\u003eWorking examples for the [C++ Bazel Tutorial](https://bazel.build/start/cpp)\n * [Java basics](/java-tutorial)\n   \u003cbr/\u003eWorking examples for the [Java Bazel Tutorial](https://bazel.build/start/java)\n * [Using query](/query-quickstart)\n   \u003cbr/\u003eWorking examples for [The Query quickstart](https://bazel.build/query/quickstart)\n\nNote that tutorials for other languages may be found under other repositories:\n\n * [iOS tutorial](https://github.com/bazelbuild/rules_apple/blob/master/doc/tutorials/ios-app.md)\n * [Go tutorial](https://bazel-contrib.github.io/SIG-rules-authors/go-tutorial.html) along with\n   [sources](https://github.com/bazelbuild/rules_go/tree/master/examples/basic-gazelle)\n\n ## Example cookbook\n\n ### General\n\n * [Using bzlmod](/bzlmod)\n * [How to generate source code from a rule and include it in a library](/rules/generating_code)\n\n ### [Android](/tree/main/android)\n\n * [Using Android Jetpack Compose](/firebase-cloud-messaging)\n * [Using Firebase Cloud Messaging](/jetpack-compose)\n * [Using the NDK](/android/ndk)\n * [Using Roboelectric tests and Kotlin](/android/robolectric-testing)\n\n ### Java\n\n * [Using Java with Maven](/java-maven)\n\n### Rust\n\n* [Building Rust](/rust-examples)\n\n ### Frontend\n\n * [Next.js](/frontend/next.js)\n * [react](/frontend/react)\n * [react-webpack](/frontend/react-webpack)\n * [vue](/frontend/vue)\n\n ### [Rule writing](/rules)\n\n * [Accessing attributes of a rule](/rules/attributes)\n * [A rule with both explict and implicit outputs](/rules/implicit_output)\n * [Creating a simple `*_test` rule](/rules/test_rule)\n * [Rules that change the build flags](/configurations)\n * [Rules with implicit dependencies](/rules/computed_dependencies)\n * [Using a macro wrapper to compute an output file name](/rules/optional_provider)\n * [Using aspects](/rules/aspect)\n * [Using ctx.actions.expand_template](/rules/expand_template)\n * [Using ctx.actions.run_shell to wrap simple commands](/rules/shell_command)\n * [Using ctx.actions.run to run a tool](/rules/actions_run)\n * [Using ctx.actions.write to create a file at analysis time](/rules/actions_write)\n * [Using depsets](/rules/depsets)\n * [Using \"Make\" variables in your rules](/make-variables)\n * [Using mandatory providers to ensure your dependencies are of the right type](/rules/mandatory_provider)\n * [Using runfiles](/rules/runfiles)\n\n### [Macro writing]\n\n* [Using Symbolic Macros](/macros)\n\n\nCI:\n[![Build status](https://badge.buildkite.com/260bbace6a4067a3c60539a31fed1191d341a24cb0bfeb0e23.svg)](https://buildkite.com/bazel/bazel-bazel-examples)\n","funding_links":["https://opencollective.com/bazel-rules-authors-sig"],"categories":["Starlark","Examples"],"sub_categories":["Google projects"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelbuild%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Fexamples/lists"}