data class JavaTarget : Target
Generate .java sources.
JavaTarget(includes: List<String> = listOf("*"), excludes: List<String> = listOf(), exclusive: Boolean = true, outDirectory: String, android: Boolean = false, androidAnnotations: Boolean = false, compact: Boolean = false)
Generate |
val android: Boolean
True for emitted types to implement |
|
val androidAnnotations: Boolean
True to enable the |
|
val compact: Boolean
True to emit code that uses reflection for reading, writing, and toString methods which are normally implemented with generated code. |
|
val excludes: List<String>
Proto types to excluded generated sources for. Types listed here will not be generated for this target. |
|
val exclusive: Boolean
True if types emitted for this target should not also be emitted for other targets. Use this to cause multiple outputs to be emitted for the same input type. |
|
val includes: List<String>
Proto types to include generated sources for. Types listed here will be generated for this target and not for subsequent targets in the task. |
|
val outDirectory: String |