Adding a directory to the distribution with 'distributions'?

applicationDistribution.from("config") {
    into "config"
}

The above adds ‘config’ to the content otherwise created by gradle. Is there a way to express this with ‘distributions’?