Package io.github.gmazzo.codeowners
Class CodeOwnersExtensionBaseInternal
-
- All Implemented Interfaces:
-
io.github.gmazzo.codeowners.CodeOwnersExtensionBase
public abstract class CodeOwnersExtensionBaseInternal<SourceSet extends CodeOwnersSourceSet> implements CodeOwnersExtensionBase<SourceSet>
-
-
Field Summary
Fields Modifier and Type Field Description private final Lazy<TaskProvider<CodeOwnersRenameTask>>renameTaskprivate final RegularFilePropertyrenamedCodeOwnersFileprivate final RegularFilePropertyrenamedCodeOwnersFileUntrackedprivate final Property<CodeOwnersExtensionBase.Renamer>codeOwnersRenamerprivate final DirectoryPropertyrootDirectoryprivate final RegularFilePropertycodeOwnersFileprivate final NamedDomainObjectContainer<SourceSet>sourceSetsprivate final DirectoryPropertyreportsDirectoryprivate final CodeOwnersReportsreports
-
Constructor Summary
Constructors Constructor Description CodeOwnersExtensionBaseInternal(Project project, Lazy<TaskProvider<CodeOwnersRenameTask>> renameTask)
-
Method Summary
Modifier and Type Method Description final Lazy<TaskProvider<CodeOwnersRenameTask>>getRenameTask()abstract RegularFilePropertygetRenamedCodeOwnersFile()abstract RegularFilePropertygetRenamedCodeOwnersFileUntracked()A hack to avoid "can't query property of task before it has been run" on native kotlin compilations UnitcodeOwnersRenamer(CodeOwnersExtensionBase.Renamer renamer)Sets a renamer function to be applied to the owners on the CODEOWNERS file. -
Methods inherited from class io.github.gmazzo.codeowners.CodeOwnersExtensionBase
getCodeOwnersFile, getCodeOwnersRenamer, getReports, getReportsDirectory, getRootDirectory, getSourceSets, reports -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CodeOwnersExtensionBaseInternal
CodeOwnersExtensionBaseInternal(Project project, Lazy<TaskProvider<CodeOwnersRenameTask>> renameTask)
-
-
Method Detail
-
getRenameTask
final Lazy<TaskProvider<CodeOwnersRenameTask>> getRenameTask()
-
getRenamedCodeOwnersFile
abstract RegularFileProperty getRenamedCodeOwnersFile()
-
getRenamedCodeOwnersFileUntracked
abstract RegularFileProperty getRenamedCodeOwnersFileUntracked()
A hack to avoid "can't query property of task before it has been run" on native kotlin compilations
-
codeOwnersRenamer
Unit codeOwnersRenamer(CodeOwnersExtensionBase.Renamer renamer)
Sets a renamer function to be applied to the owners on the CODEOWNERS file.
-
-
-
-