Skip to content

Commit

Permalink
[ABI Validation] Use lazy API to configure check task
Browse files Browse the repository at this point in the history
  • Loading branch information
ALikhachev authored and shanshin committed Dec 3, 2024
1 parent 0b1ad4b commit 38ad9c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ private fun Project.configureCheckTasks(
apiCheckDir.mkdirs()
}
}
project.tasks.getByName("check").dependsOn(apiCheck)
project.tasks.named("check").configure {
it.dependsOn(apiCheck)
}
}

inline fun <reified T : Task> Project.task(
Expand Down

0 comments on commit 38ad9c1

Please sign in to comment.