{"id":19238956,"url":"https://github.com/aiyanbo/sbt-protoc","last_synced_at":"2025-12-31T14:28:39.253Z","repository":{"id":146489132,"uuid":"144371859","full_name":"aiyanbo/sbt-protoc","owner":"aiyanbo","description":"🔢 A plugin for sbt that transforms *.proto files to Java source files","archived":false,"fork":false,"pushed_at":"2020-05-13T08:30:21.000Z","size":64,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T14:15:18.631Z","etag":null,"topics":["grpc-java","protobuf-java","protobuf3","sbt-plugin"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/aiyanbo.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":"2018-08-11T09:18:00.000Z","updated_at":"2021-08-30T05:31:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"f63b780b-f616-45fb-b0ee-4752d7673218","html_url":"https://github.com/aiyanbo/sbt-protoc","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/aiyanbo/sbt-protoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-protoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-protoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-protoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-protoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiyanbo","download_url":"https://codeload.github.com/aiyanbo/sbt-protoc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiyanbo%2Fsbt-protoc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265845141,"owners_count":23837740,"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":["grpc-java","protobuf-java","protobuf3","sbt-plugin"],"created_at":"2024-11-09T16:35:18.375Z","updated_at":"2025-12-31T14:28:39.222Z","avatar_url":"https://github.com/aiyanbo.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-protoc\n\nA plugin for sbt that transforms *.proto files to Java source files.\n\n[![Build Status](https://travis-ci.org/aiyanbo/sbt-protoc.svg?branch=master)](https://travis-ci.org/aiyanbo/sbt-protoc)\n[![GitHub release](https://img.shields.io/github/release/aiyanbo/sbt-protoc.svg)](https://github.com/aiyanbo/sbt-protoc/releases/latest) \n\n# Features\n\n- Support protobuf3\n- Support gRPC\n- Auto upgrade gRPC and protobuf-java libs\n\n# Usage\n\n#### Adding the plugin dependency\n\nIn your project, create a file for plugin library dependencies project/plugins.sbt and add the following line:\n\n```\naddSbtPlugin(\"org.jmotor.sbt\" % \"sbt-protoc\" % \"1.0.16\")\n```\n\n#### Enabled sbt-protc plugin\n\n**build.sbt**\n\n```\nenablePlugins(ProtocPlugin)\n```\n\n#### Additional protobuf sources in your project\n\n```\n\n|- project\n|---- src/mian/proto\n|-------- hello.proto\n\n```\n\n# Settings\n\nAdd settings like this:\n\n```\nprotocIncludeStdTypes in ProtocConfig := false\n```\n\n| name | default | description |\n| --- | --- | --- |\n| protocVersion | latest | protoc version\n| protocGrpcVersion | latest | grpc version, if you not set used the latest.\n| protocIncludeStdTypes | true | include google/protobuf protos.\n\n# Credits\n\n- [sbt-protobuf](https://github.com/sbt/sbt-protobuf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiyanbo%2Fsbt-protoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiyanbo%2Fsbt-protoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiyanbo%2Fsbt-protoc/lists"}