Skip to content

Commit

Permalink
8310666: gradle validateSourceSets task not run when TEST_ONLY=true
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
arapte committed Sep 11, 2023
1 parent eb7de72 commit 325be56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4326,7 +4326,8 @@ task sdk() {
} else {
gradle.taskGraph.whenReady { taskGraph ->
taskGraph.allTasks.each { task ->
if (!isTestTask(task) && !task.name.equals("verifyJava")) {
if (!isTestTask(task) && !task.name.equals("verifyJava") &&
!task.name.equals("validateSourceSets")) {
task.enabled = false
}
}
Expand Down

1 comment on commit 325be56

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.