Open
Description
📝 Description
The project's version being used in several scripts and Gradle tasks, we would like to validate it during the project's configuration with Gradle.
The project's version should match the following regular expression: ^\d+\.\d+\.\d+(?:-SNAPSHOT)?$
.
Here are examples of valid and invalid project's versions:
// Valid
1.0.0
1.0.0-SNAPSHOT
// Invalid
1
1.
1.0
1.0.
1.0.0-
✅ Checklist
- Validate project's version in the configuration step using Gradle.