Class ConventionStyle

java.lang.Object
com.diffplug.gradle.oomph.OomphConvention
com.diffplug.gradle.oomph.ConventionStyle
All Implemented Interfaces:
AutoCloseable

public class ConventionStyle extends OomphConvention
  • Method Details

    • niceText

      public void niceText()
      Sets nice font and whitespace settings (Consolas/Monaco/Monospace).
    • niceText

      public void niceText(String fontSize)
      Sets nice font, visible whitespace, and line numbers.
    • classicTheme

      public void classicTheme()
      Sets the theme to be the classic eclipse look.
    • lineNumbers

      public void lineNumbers(boolean showLineNumbers)
      Determines whether or not to show line numbers.
    • showWhiteSpace

      public void showWhiteSpace(boolean showWhiteSpace)
      Determines whether or not to show white space not including line endings.
    • showLineEndings

      public void showLineEndings(boolean showLineEndings)
      Determines whether or not to show line ending characters (carriage return/line feeds).
    • showLineFeed

      public void showLineFeed(boolean showLineFeed)
      Determines whether or not to show line feeds.
    • showCarriageReturn

      public void showCarriageReturn(boolean showCarriageReturn)
      Determines whether or not to show carriage returns.