Package io.github.gmazzo.codeowners
Interface CodeOwnersExtensionBase
-
- All Implemented Interfaces:
public interface CodeOwnersExtensionBase<SourceSet extends CodeOwnersSourceSet>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCodeOwnersExtensionBase.Renamer
-
Method Summary
Modifier and Type Method Description abstract UnitcodeOwnersRenamer(CodeOwnersExtensionBase.Renamer renamer)Sets a renamer function to be applied to the owners on the CODEOWNERS file. Unitreports(Action<CodeOwnersReports> action)Configures the reports produced by its CodeOwnersReportTask task abstract DirectoryPropertygetRootDirectory()The base path of the entries on the CODEOWNERS file abstract RegularFilePropertygetCodeOwnersFile()The path to the CODEOWNERS file abstract Property<CodeOwnersExtensionBase.Renamer>getCodeOwnersRenamer()An optional renamer function to be applied to the owners on the CODEOWNERS file. abstract NamedDomainObjectContainer<SourceSet>getSourceSets()The collecting of CodeOwners source sets. abstract DirectoryPropertygetReportsDirectory()The directory where code owners reports are generated. abstract CodeOwnersReportsgetReports()Access the reports produced by its CodeOwnersReportTask task -
-
Method Detail
-
codeOwnersRenamer
abstract Unit codeOwnersRenamer(CodeOwnersExtensionBase.Renamer renamer)
Sets a renamer function to be applied to the owners on the CODEOWNERS file.
-
reports
Unit reports(Action<CodeOwnersReports> action)
Configures the reports produced by its CodeOwnersReportTask task
-
getRootDirectory
abstract DirectoryProperty getRootDirectory()
The base path of the entries on the CODEOWNERS file
-
getCodeOwnersFile
abstract RegularFileProperty getCodeOwnersFile()
The path to the CODEOWNERS file
-
getCodeOwnersRenamer
abstract Property<CodeOwnersExtensionBase.Renamer> getCodeOwnersRenamer()
An optional renamer function to be applied to the owners on the CODEOWNERS file.
-
getSourceSets
abstract NamedDomainObjectContainer<SourceSet> getSourceSets()
The collecting of CodeOwners source sets. This is usually a mirror of:
SourceSets for Java projects
com.android.build.api.variant.Components variants (include test and androidTest) for Android projects
org.jetbrains.kotlin.gradle.plugin.KotlinCompilations for Kotlin projects
-
getReportsDirectory
abstract DirectoryProperty getReportsDirectory()
The directory where code owners reports are generated.
-
getReports
abstract CodeOwnersReports getReports()
Access the reports produced by its CodeOwnersReportTask task
-
-
-
-