We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2f721b commit 73111d9Copy full SHA for 73111d9
build.gradle
@@ -181,7 +181,7 @@ configure(javaProjects) { subproject ->
181
def beginningYear = matcher[0][1]
182
if (now != beginningYear && now != matcher[0][2]) {
183
def years = "$beginningYear-$now"
184
- def sourceCode = file.text
+ def sourceCode = file.getText('UTF-8')
185
sourceCode = sourceCode.replaceFirst(/20\d\d(-20\d\d)?/, years)
186
file.text = sourceCode
187
println "Copyright updated for file: $file"
0 commit comments