Running buildSrc tasks from root project

Is there any way to run buildSrc tasks from outside the buildSrc directory

./gradlew -p buildSrc jacocoTestReport


-p , --project-dir Specifies the start directory for Gradle. Defaults to current directory.
check here for command line details

1 Like