well I'd love to leave the if statements out
# gradle
x
well I'd love to leave the if statements out
c
it's ok to have an
if
, I'm just saying tasks cannot be called in build file, they are configured
x
ah, right
still I'd love for everything to be declarative and no conditionals
I feel like conditionals in build stuff is... naughty
so trying to keep it at a minimum
c
then you should modify workflow to remove the condition from the real world 🙂 If there are conditions in real world there will be conditions in its model 🙂
x
I'd love to figure out how to do that
honestly every if condition I've done has been because gradle evaluates this stuff more eagerly than expected
e.g.
gradlew gitClone
doesn't depend on build
so why is build being configured if that's all I'm calling, I don't get it
if it would just not call that configuration method it'd be fine