-
public final class CrLfSpec
-
-
Field Summary
Fields Modifier and Type Field Description private final LineEndingstextEol
-
Constructor Summary
Constructors Constructor Description CrLfSpec(LineEndings textEol)
-
Method Summary
Modifier and Type Method Description final LineEndingsgetTextEol()final CopySpectextFrom(CopySpec $self, Object o, LineEndings eol)final UnittextFrom(CopySpec $self, Object o, Function1<AutoClassifySpec, Unit> action)final UnittextAuto(CopySpec $self)Recognizes text files automatically and converts them to the appropriate eol-style. final Unitgitattributes(CopySpec $self, GitProperties props)final Unitgitattributes(CopySpec $self, Provider<GitProperties> props)final Unitgitattributes(CopySpec $self, TaskProvider<FindGitAttributes> task)final Unitwa1191SetInputs(Task $self, GitAttributesMerger attributes)final Unitwa1191SetInputs(Task $self, Provider<GitProperties> props)final Unitwa1191SetInputs(Task $self, TaskProvider<FindGitAttributes> task)-
-
Constructor Detail
-
CrLfSpec
CrLfSpec(LineEndings textEol)
-
-
Method Detail
-
getTextEol
final LineEndings getTextEol()
-
textFrom
final CopySpec textFrom(CopySpec $self, Object o, LineEndings eol)
-
textFrom
final Unit textFrom(CopySpec $self, Object o, Function1<AutoClassifySpec, Unit> action)
-
textAuto
final Unit textAuto(CopySpec $self)
Recognizes text files automatically and converts them to the appropriate eol-style. Note: due to https://github.com/gradle/gradle/issues/1191, Gradle does not use filtering for up-to-date checks, so you need to add explicit "task.inputs.property" for proper incremental task operation. This is similar to Git's
* text=auto
-
gitattributes
final Unit gitattributes(CopySpec $self, GitProperties props)
-
gitattributes
final Unit gitattributes(CopySpec $self, Provider<GitProperties> props)
-
gitattributes
final Unit gitattributes(CopySpec $self, TaskProvider<FindGitAttributes> task)
-
wa1191SetInputs
final Unit wa1191SetInputs(Task $self, GitAttributesMerger attributes)
-
wa1191SetInputs
final Unit wa1191SetInputs(Task $self, Provider<GitProperties> props)
-
wa1191SetInputs
final Unit wa1191SetInputs(Task $self, TaskProvider<FindGitAttributes> task)
-
-
-
-