//wire-compiler/com.squareup.wire.schema
Package com.squareup.wire.schema¶
Types¶
Name | Summary |
---|---|
CustomTarget | [jvm] data class CustomTarget(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, schemaHandlerFactory: SchemaHandler.Factory) : Target |
JavaTarget | [jvm] data class JavaTarget(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, android: Boolean, androidAnnotations: Boolean, compact: Boolean, emitDeclaredOptions: Boolean, emitAppliedOptions: Boolean) : Target Generate .java sources. |
KotlinTarget | [jvm] data class KotlinTarget(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String, android: Boolean, javaInterop: Boolean, emitDeclaredOptions: Boolean, emitAppliedOptions: Boolean, rpcCallStyle: RpcCallStyle, rpcRole: RpcRole, singleMethodServices: Boolean, boxOneOfsMinSize: Int, grpcServerCompatible: Boolean, nameSuffix: String?) : Target Generate .kt sources. |
ProtoTarget | [jvm] data class ProtoTarget(outDirectory: String) : Target |
SwiftTarget | [jvm] data class SwiftTarget(includes: List<String>, excludes: List<String>, exclusive: Boolean, outDirectory: String) : Target |
Target | [jvm] sealed class Target : Serializable |
WireRun | [jvm] data class WireRun(sourcePath: List<Location>, protoPath: List<Location>, treeShakingRoots: List<String>, treeShakingRubbish: List<String>, moves: List<TypeMover.Move>, sinceVersion: String?, untilVersion: String?, onlyVersion: String?, targets: List<Target>, modules: Map<String, WireRun.Module>, permitPackageCycles: Boolean) An invocation of the Wire compiler. Each invocation performs the following operations: |
Functions¶
Name | Summary |
---|---|
newSchemaHandler | [jvm] fun newSchemaHandler(schemaHandlerFactoryClass: String): SchemaHandler.Factory Create and return an instance of SchemaHandler.Factory. |