You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, we are trying to use Spotless and AsciiDoctor simulatiously in a project. When we run ./gradlew spotlessApply, the Asciidoc-formatted comments are manipulated (<p>tags are added in places where there should not).
Is there a way to disable spotless for JavaDoc or (even better) set the format for Javadoc to Asciidoc?
Gradle 5.4.1
Spotless 3.23.1
Ubuntu 19.04 Disco Dingo
You are using googleJavaFormat() which doesn't have many options. If you instead use eclipse(), you can provide a config file where you can set a bunch of options, including options about javadoc formatting.
We don't have an asciidoctor formatter, but if we had one, and you wanted to apply it only to the comments, we would also need to implement #412, which no one is currently working on.
Hello, we are trying to use Spotless and AsciiDoctor simulatiously in a project. When we run
./gradlew spotlessApply
, the Asciidoc-formatted comments are manipulated (<p>
tags are added in places where there should not).Is there a way to disable spotless for JavaDoc or (even better) set the format for Javadoc to Asciidoc?
Gradle 5.4.1
Spotless 3.23.1
Ubuntu 19.04 Disco Dingo
If you are submitting a bug, please include the following:
gradlew spotless[Apply/Check] --stacktrace
If you're just submitting a feature request or question, no need for the above.
The text was updated successfully, but these errors were encountered: