Skip to content

Commit

Permalink
Merge pull request #756 from georgecao/ds
Browse files Browse the repository at this point in the history
Change DuplicatesStrategy from EXCLUDE to INCLUDE
  • Loading branch information
jonbullock committed Mar 31, 2022
2 parents 8113dac + 973204e commit 4d5cd56
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions jbake-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ dependencies {
}

processResources {
from("src/main/resources") {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
include 'default.properties'
filesMatching("default.properties") {
expand jbakeVersion: project.version,
timestamp: grgit.head().dateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss'['VV']'")),
gitHash: grgit.head().abbreviatedId
timestamp: grgit.head().dateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss'['VV']'")),
gitHash: grgit.head().abbreviatedId
}
}

0 comments on commit 4d5cd56

Please sign in to comment.