I have a gradle plugin that uses the project.version variable.
project.version
How ever, the version in the plugin does not update when I change the version in the
You can use gradle properties to extract project version without adding a dedicated task to the build.gradle file.
For example:
gradle properties -q | grep "version:" | awk '{print $2}'