Skip to content
Chen

Command Palette

Search for a command to run...

Expand variables like {version} in resource file for Gradlegradle/expand-resourceTransform 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}