Skip to content

Commit

Permalink
Make JMH compatible with Gradle 8.0
Browse files Browse the repository at this point in the history
IdeaModule.testSourceDirs is deprecated and scheduled for removal in Gradle 8.0.
  • Loading branch information
donat authored Sep 21, 2022
1 parent dc8efcb commit 9c019a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/me/champeau/jmh/JMHPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class JMHPlugin implements Plugin<Project> {
project.idea {
module {
project.sourceSets.jmh.java.srcDirs.each {
testSourceDirs += project.file(it)
testSources.from(project.file(it))
}
}
}
Expand Down

0 comments on commit 9c019a1

Please sign in to comment.