Given the folowing project layout, how do I invoke...
# gradle
b
Given the folowing project layout, how do I invoke
gradlew
for the child module from child module's directory?
Copy code
/root/
  parent/
    gradlew
    build.gradle
    serrings.gradle
  child/
    build.gradle
  another-child/
    build.gradle
I've tried this, but it errors while trying to evaluate child as parent
Copy code
#pwd: /root/child
../parent/gradlew help
Here's the error
Copy code
FAILURE: Build failed with an exception.

* Where:
Build file '/root/child/build.gradle' line: 6

* What went wrong:
A problem occurred evaluating root project 'child'.
> Project with path ':another-child' could not be found in root project 'child'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at <https://help.gradle.org>

BUILD FAILED in 0s
I'm on Gradle 5.4.1
t
try from
parent
dir call such way:
./gradlew -p ../child tasks
b
Same error
Here's what I'm trying to do if some context might help
Found the issue. Basically gradle doesn't work with children that are parallel to parent dir via
includeFlat
. Everything works fine after moving the parent to root