Hi, all,
When I start gradle.bat in windows using a UNC path, there is an error as below: > $ \UNCPath\gradle.bat --help java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.(File.java:368)
at org.gradle.api.internal.classpath.EffectiveClassPath.findAvailableClasspathFiles(EffectiveClassPath.java:41)
at org.gradle.api.internal.classpath.EffectiveClassPath.(EffectiveClassPath.java:32)
at org.gradle.api.internal.classpath.DefaultModuleRegistry.(DefaultModuleRegistry.java:61)
at org.gradle.api.internal.classpath.DefaultModuleRegistry.(DefaultModuleRegistry.java:55)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:41)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
It does works well when I access it from a mapped driver.
The problem is we put gradle.bat on a shared network location and we don’t expect users to always do a subst themselves first. is there a way to make gradle work under a UNC path?
Thanks.