ScalaPBWorker
mill.contrib.scalapblib.ScalaPBWorker
class ScalaPBWorker
Attributes
- Source
- ScalaPBWorker.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
compile protobuf using ScalaPBC
compile protobuf using ScalaPBC
Value parameters
- dest
-
output path
- scalaPBCExtraArgs
-
extra arguments other than
--scala_out=<options>:output_path
,--proto_path=source_parent
,source
- scalaPBClasspath
-
classpaths for ScalaPBC to run
- scalaPBOptions
-
option string specific for scala generator. (the options in
--scala_out=<options>:output_path
) - scalaPBSources
-
proto files to be compiles
Attributes
- Returns
-
execute result with path ref to
dest
- Source
- ScalaPBWorker.scala
def compileOptions(protocPath: Option[String], includes: Seq[Path], additionalArgs: Seq[String]): Seq[String]
Build arguments for ScalaPBC, except scala_out/proto_path for source/source
Build arguments for ScalaPBC, except scala_out/proto_path for source/source
Value parameters
- additionalArgs
-
other arguments.
- includes
-
proto paths other than source proto.
- protocPath
-
optional protoc path.
Attributes
- Returns
-
arguments for ScalaPBC
- Source
- ScalaPBWorker.scala
In this article