I am trying to figure out how to set the buildSrc directory for the Gradle build executed by GradleBuild task:
task clean(type: GradleBuild) {
buildFile = file('buildLogic/build.gradle')
tasks = ['clean']
}
and the directory structure is:
buildSrc
- src
- main
- groovy
buildLogic
- build.gradle
build.gradle
Is it even possible?