Im trying to build a project from multiple source folders but the gradle sync task gets stuck (0% forever)
task syncSharedCode(type: Sync) {
    group 'build auxiliary'
    from '../../base'
    into 'combined'
}
task build(type: Copy, dependsOn: ['syncSharedCode']) {
    group 'build'
    into 'combined'
    from 'custom'
    exclude "/shared/**/*_abstract.*"
}
There is no output after the sync task starts except acquiring and releasing a registry lock
11:19:35.690 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
11:19:35.691 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:19:35.691 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
I have no idea why it is stuck every time and I hope that you can give some insight.