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
tapchicoma
05/13/2021, 1:42 PM
try from
parent
dir call such way:
./gradlew -p ../child tasks
b
Big Chungus
05/13/2021, 1:50 PM
Same error
Big Chungus
05/13/2021, 1:57 PM
Here's what I'm trying to do if some context might help
Big Chungus
05/13/2021, 2:19 PM
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