| Type | Name and description |
|---|---|
org.gradle.api.file.RegularFileProperty |
configFileScalafix configuration file. |
org.gradle.api.provider.SetProperty<java.lang.String> |
excludesAdds ANT style exclude pattern. |
org.gradle.api.provider.SetProperty<java.lang.String> |
ignoreSourceSetsName of source sets to which the Scalafix plugin should not be applied. |
org.gradle.api.provider.SetProperty<java.lang.String> |
includesAdds ANT style include patterns. |
| Constructor and description |
|---|
ScalafixExtension
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
SemanticdbParameters |
getSemanticdb() |
|
void |
semanticdb(groovy.lang.Closure closure) |
|
void |
setConfigFile(java.lang.String path)Path to the Scalafix configuration file. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Scalafix configuration file. If not specified, the plugin will try to find a file named '.scalafix.conf' in the project's directory and then in the root project's directory, in this order.
Adds ANT style exclude pattern. If excludes are not provided, then no files will be excluded. If excludes are provided, then files must not match any exclude pattern to be processed.
Name of source sets to which the Scalafix plugin should not be applied.
Adds ANT style include patterns. If includes are not provided, then all files in the Scala source set will be included. If includes are provided, then a file must match at least one of the include patterns to be processed.
Path to the Scalafix configuration file. This path must be relative to the project's directory. If not specified, the plugin will try to find a file named '.scalafix.conf' in the project's directory and then in the root project's directory, in this order.
Groovy Documentation