Created
July 10, 2015 20:10
-
-
Save RX14/6e04cd9fc71c52191def to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def propertyFile = file "src/main/resources/META-INF/some.properties" | |
def props = new Properties() | |
propertyFile.withReader { props.load(it) } | |
props.setProperty("version", project.version) | |
propertyFile.withWriter { props.store(it) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment