I'm learning Gradle (version 4.10 now) and i am confused with setting path using separators ':' and '/'. In which situations it's propper to use this types? I'm not sure but it looks like colons can be used only when setting dependencies, including projects,adding tasks on the other hand slashes are used to setting paths for ex:
// works
def webappDir = "$projectDir/src/main/webapp"
// doesn't work output: home/projectName/:src:main:webapp
def webappDir = "$projectDir:src:main:webapp"