gradle apply from: not using parent script directory -


/path/script

foo.gradle     apply from: 'bar.gradle'  bar.gradle 

/path/work

build.gradle    apply from: '/path/script/foo.gradle' 

error: bar.gradle not found.

gradle looking in current working dir /path/work. should resolve relative path based on directory of parent script.

no, shouldn't resolve relative path based on directory of parent script, because that's not specified in the docs:

... and, following above link, ...

resolves file path uri, relative project directory of project.

since project scope applied script, applying script file there same applying original script.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -