nscn.polaris2.mill

Members list

Packages

Type members

Classlikes

trait Http4sGrpcModule extends ScalaModule

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 ScalaModule
trait ScalaModuleApi
trait ScalaModuleBase
trait JavaModule
trait JavaModuleApi
trait JdkCommandsModule
trait AssemblyModule
trait SemanticDbJavaModule
trait SemanticDbJavaModuleApi
trait OfflineSupportModule
trait GenIdeaModule
trait GenIdeaModuleApi
trait RunModule
trait RunModuleApi
trait DefaultTaskModule
trait JavaModuleBase
trait BspModule
trait BspModuleApi
trait WithJvmWorkerModule
trait JavaHomeModule
trait CoursierModule
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type