The Gradle plugin which re-formats Javadoc parts of the Java code generated from Protobuf types defined in a module.
The plugin performs the following formatting:
- Removes
<pre>
tags generated by the Protobuf compiler. - Replaces a text in backticks by the text in
{@code }
tag.
The plugin may be used as follows:
apply plugin: "io.spine.javadoc-style"
The configuration example:
protoJavadoc {
mainGenProtoDir = "directory_with_main_sources"
testGenProtoDir = "directory_with_test_sources"
}
Directories are specified relative to the project root and should contain files generated from
the .proto
definitions. If directories contain other files, they will be formatted too.