When I ran gradle build </ code> on windows, I got the following error. The file path in the error below is rewritten to an appropriate one.
* What went wrong:
Execution failed for task ':api:compileJava'.
> java.nio.file.InvalidPathException: Illegal char <:> at index 71: /usr/local/xxx/lib/aaa.jar:/xxx/bbb.jar:/usr/local/xxx/ccc.jar
The cause was the Class-Path of the jar manifest file in the dependency. The file path was specified here separated by ":" (colon) as shown below. The classpath must be specified with the delimiter ":" (colon) on Linux, but with ";" (semicolon) on windows. Therefore, a build error occurs only on windows.
Class-Path: /usr/local/xxx/lib/aaa.jar:/xxx/bbb.jar:/usr/local/xxx/ccc.jar
As a countermeasure, exclude or recreate the problematic jar.