public class DetektExtension
| Constructor and Description |
|---|
DetektExtension() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaselineFileName()
Optional baseline file. If one is present it will be used in the detektCheck task.
If this name is specified however the file is not present it will be generated.
This mirrors the baseline mechanism from Android Lint.
|
java.lang.String |
getConfig() |
boolean |
getEnabled()
Ability to enable or disable only detekt for every subproject that is not ignored.
|
java.lang.String |
getToolVersion() |
void |
setBaselineFileName(java.lang.String p)
Optional baseline file. If one is present it will be used in the detektCheck task.
If this name is specified however the file is not present it will be generated.
This mirrors the baseline mechanism from Android Lint.
|
void |
setConfig(java.lang.String p) |
void |
setEnabled(boolean p)
Ability to enable or disable only detekt for every subproject that is not ignored.
|
void |
setToolVersion(java.lang.String p) |
public boolean getEnabled()
Ability to enable or disable only detekt for every subproject that is not ignored.
public void setEnabled(boolean p)
Ability to enable or disable only detekt for every subproject that is not ignored.
public java.lang.String getToolVersion()
public void setToolVersion(java.lang.String p)
public java.lang.String getConfig()
public void setConfig(java.lang.String p)
public java.lang.String getBaselineFileName()
Optional baseline file. If one is present it will be used in the detektCheck task. If this name is specified however the file is not present it will be generated. This mirrors the baseline mechanism from Android Lint.
public void setBaselineFileName(java.lang.String p)
Optional baseline file. If one is present it will be used in the detektCheck task. If this name is specified however the file is not present it will be generated. This mirrors the baseline mechanism from Android Lint.