Skip to content

Commit

Permalink
Stops the duplication and the need for a strategy at all.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgecao committed Mar 29, 2022
1 parent ffbc0c9 commit 973204e
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.INCLUDE
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 973204e

Please sign in to comment.