Skip to content

Commit

Permalink
Remove obsolete ordering of gradle-wrapper.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
centic9 committed Dec 16, 2024
1 parent 3ddc6fc commit 18ac927
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,3 @@ test {
wrapper {
gradleVersion = '8.5'
}

tasks.register('adjustWrapperPropertiesFile') {
doLast {
ant.replaceregexp(match: '^#.*', replace: '', flags: 'g', byline: true) {
fileset(dir: project.projectDir, includes: 'gradle/wrapper/gradle-wrapper.properties')
}
new File(project.projectDir, 'gradle/wrapper/gradle-wrapper.properties').with {
it.text = it.readLines().findAll { it }.sort().join('\n')
}
ant.fixcrlf(file: 'gradle/wrapper/gradle-wrapper.properties', eol: 'lf')
}
}
wrapper.finalizedBy adjustWrapperPropertiesFile

0 comments on commit 18ac927

Please sign in to comment.