Gradle Version: 2.14.1
Operating System: Windows 7 (64bit)
A NTFS Junction Point is a kind of symbolic link for Windows. Junctions can be used only for the creation of links to folders, either on the same drive or different drives, but only if those drives are on the local system.
It’s possible to create junctions in NTFS (since Windows 2000) without administrative priveleges, in contrast to Windows Symbolic Link that you can use only with administrative priveleges. All of the above makes junctions very useful for creating exploded builds on Windows without actually copying files.
Steps to reproduce:
- Create a junction point inside Gradle build directory
mklink /J testJunctionDir C:\targetDir```
2. Run:
```gradlew.bat clean```
**Actual result:**
All content inside ```C:\targetDir``` has been deleted.
**Expected result:**
Only the junction has been deleted.