Thank you for the Studio stack trace! But I guess it is not related with the gradle plugin problem.
Unfortunately, I cannot reproduce the issue. It seems the problem exists only for Windows OS.
The compileWidget task has a property: shortClassPath. You can set it to false in order to disable using ClassPathCommandLine:
compileWidgets {
shortClassPath = false
...
}
However it can lead to the error: “Error 206 path too long” (though I cannot reproduce it on Windows 10). You can avoid by the following ways:
- Move your project to the folder with short path from the disk root, e.g.
C:\proj\. - Move and rename Gradle user home directory to the shortest possible name