Expand variables like {version} in resource file for Gradle
gradle/expand-resource
Transform resource file with variables like {version} to real value
1processResources {
2    inputs.property("version", project.version)
3    
4    filesMatching("plugin.yml") {
5        expand("version": project.version)
6    }
7}
Unauthorized reproduction of original content on this website is prohibited.