Update dynamic versioning to use Maven syntax instead of Gradle syntax