Hi, I have some gradle setup projects
-root_project |-sub_project1 |-sub_project2 |-sub_project3
Everything works fine, but one thing drives me crazy. In my build script:
defaultTasks 'build' <- this works just fine task buildroom (description: 'This task is invoked by build room script, invokes default task plus publishes artifacts') {
when I invoke 'gradlew' <from the command line - the default task is executed
when I call from the command line 'tasks gradlew' <- task under 'all tasks launched from the root project' I see 'build'
but when I try to add dependOn ('build'), dependOn (': build') or dependsOn (': root: build'), it tells me
What went wrong: Completed for the Tasks task.
Could not determine task dependencies: buildroom.
The "base" plugin adds a "build" and a "clean" task, but does not build ...
any advice?
lukasz-karolewski
source share