Skip to content

Commit ed99513

Browse files
committed
Fix to link to the 'processResources' task of the current source set
This was only working correctly when the 'sol' files are in the 'main' source set. But not for files in 'test' or other custom source sets. Follow up to the Configuration Cache fix. Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
1 parent fbed809 commit ed99513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/org/web3j/solidity/gradle/plugin/SolidityPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class SolidityPlugin implements Plugin<Project> {
148148
})
149149
}
150150

151-
project.tasks.named('processResources', ProcessResources) {
151+
project.tasks.named(sourceSet.processResourcesTaskName, ProcessResources) {
152152
it.from(compileTask)
153153
}
154154
}

0 commit comments

Comments
 (0)