A gradle plugin that will verify ownership files are in place in projects and have required information.
plugins {
id("se.premex.ownership") version "LATEST_VERSION"
}
ownership {
validateOwnership = true
generateGithubOwners = true
generateBitbucketOwners = true
}
./gradlew validateOwnership
Outputs from validation is available in build/reports/ownershipValidation/
./gradlew check
version = 1
[owner]
user = "secretUser"
Here are some ideas that we are thinking about. We are also not limited to these and would love to learn more about your use cases.
- Support for verifying codeownership files is in place
- Better rules for validating content in ownership files
- Support for having codeownership files anywhere in the code and not only in a projects root
- Generate GitHub & Bitbucket codeownership files based on the toml files
- Generate html reports of code ownerships and code health