nscn.polaris2.mill
Members list
Packages
Type members
Classlikes
Generates http4s-grpc service bindings — and, by default, the ScalaPB message classes those bindings refer to — from .proto sources.
Generates http4s-grpc service bindings — and, by default, the ScalaPB message classes those bindings refer to — from .proto sources.
This is the Mill counterpart of org.http4s.grpc.sbt.Http4sGrpcPlugin. Where the sbt plugin appends a target to PB.targets and lets sbt-protoc drive protoc, this module owns the whole invocation: one protoc run emitting into <dest>/scalapb (messages) and <dest>/http4s-grpc (services), both wired into generatedSources.
object api extends ScalaModule, Http4sGrpcModule {
def scalaVersion = "3.3.8"
// .proto files live in `api/protobuf` by default
}
If you already generate messages elsewhere (e.g. with Mill's contrib ScalaPBModule), set http4sGrpcGenerateMessages to false and this module emits service bindings only.
Attributes
- Companion
- object
- Supertypes
-
trait ScalaModuletrait ScalaModuleApitrait ScalaModuleBasetrait JavaModuletrait JavaModuleApitrait JdkCommandsModuletrait AssemblyModuletrait SemanticDbJavaModuletrait SemanticDbJavaModuleApitrait OfflineSupportModuletrait GenIdeaModuletrait GenIdeaModuleApitrait RunModuletrait RunModuleApitrait DefaultTaskModuletrait JavaModuleBasetrait BspModuletrait BspModuleApitrait WithJvmWorkerModuletrait JavaHomeModuletrait CoursierModuletrait Moduletrait ModuleApitrait Wrapperclass BaseClasstrait Cachertrait Cacherclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Http4sGrpcModule.type