Skip to content

Commit

Permalink
Fix gradle duplicate resource issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed Jul 15, 2024
1 parent b4f9100 commit ec0352d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tds/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def previousTestTaskFinalizer = null

testInfomation.forEach { testInfo ->
sourceSets.create(testInfo.name) {
resources.srcDir file("src/${testInfo.name}/resources")
resources.srcDirs = [file("src/${testInfo.name}/resources")]

// Need 'sourceSets.test.output' because we use TestOnLocalServer in our test.
compileClasspath += sourceSets.test.output + configurations.testCompileClasspath
Expand Down

0 comments on commit ec0352d

Please sign in to comment.