Package com.diffplug.gradle.oomph
Class ConventionStyle
java.lang.Object
com.diffplug.gradle.oomph.OomphConvention
com.diffplug.gradle.oomph.ConventionStyle
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class com.diffplug.gradle.oomph.OomphConvention
extension -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the theme to be the classic eclipse look.voidlineNumbers(boolean showLineNumbers) Determines whether or not to show line numbers.voidniceText()Sets nice font and whitespace settings (Consolas/Monaco/Monospace).voidSets nice font, visible whitespace, and line numbers.voidshowCarriageReturn(boolean showCarriageReturn) Determines whether or not to show carriage returns.voidshowLineEndings(boolean showLineEndings) Determines whether or not to show line ending characters (carriage return/line feeds).voidshowLineFeed(boolean showLineFeed) Determines whether or not to show line feeds.voidshowWhiteSpace(boolean showWhiteSpace) Determines whether or not to show white space not including line endings.Methods inherited from class com.diffplug.gradle.oomph.OomphConvention
close, configure, requireIUs, setPerspectiveOver
-
Method Details
-
niceText
public void niceText()Sets nice font and whitespace settings (Consolas/Monaco/Monospace). -
niceText
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.
-