Skip to content

Commit

Permalink
don't doublecopy
Browse files Browse the repository at this point in the history
  • Loading branch information
bombcar committed Jan 8, 2024
1 parent 9bb93fa commit 67e67d9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions addon.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ tasks.withType(ScalaCompile) {
}
}
tasks.named("processResources", ProcessResources).configure {
it.inputs.file('src/main/resources/application.conf')
it.inputs.property('version', project.version)
doLast {
copy {
from 'src/main/resources/application.conf'
into 'build/resources/main'
filesMatching("application.conf") {
filter(ReplaceTokens, tokens: [version: project.version])
}
}
}

0 comments on commit 67e67d9

Please sign in to comment.