Anyone else tried using a flatDir or fileTree for dependencies in a github gradle workflow and get build fails for not locating the jars, even though the error log path points right to the jars?
i.e the error says its searching for the exact file, in the exact place it should be, the jars are there, the workflow just ignores them?
Driving me nuts. 2 days and counting. 24hrs or more on this one error. Read every search thread possible, nothing, gradle docs, github docs, nothing, bug reports, nothing.
Not sure this will help but showing list and log error are same dirs and jars are there.
Run ls -al /home/runner/work/game-client/game-client/sync/network
total 28
drwxr-xr-x 2 runner docker 4096 Aug 27 04:45 .
drwxr-xr-x 4 runner docker 4096 Aug 27 04:45 ..
-rw-r--r-- 1 runner docker 5392 Aug 27 04:45 common-game-0.4.0.jar
-rw-r--r-- 1 runner docker 2355 Aug 27 04:45 common-host-0.3.0.jar
-rw-r--r-- 1 runner docker 7003 Aug 27 04:45 util-java-0.3.0.jar
* What went wrong:
> Task :compileJava FAILED
Execution failed for task ':compileJava'.
:compileJava (Thread[Daemon worker,5,main]) completed. Took 4.789 secs.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find :common-game:0.4.0.
Searched in the following locations:
- file:/home/runner/work/game-client/game-client/sync/network/common-game-0.4.0.jar
- file:/home/runner/work/game-client/game-client/sync/network/common-game.jar
Required by:
project :
> Could not find :common-host:0.3.0.
Searched in the following locations:
- file:/home/runner/work/game-client/game-client/sync/network/common-host-0.3.0.jar
- file:/home/runner/work/game-client/game-client/sync/network/common-host.jar
Required by:
project :
> Could not find :util-java:0.3.0.
Searched in the following locations:
- file:/home/runner/work/game-client/game-client/sync/network/util-java-0.3.0.jar
- file:/home/runner/work/game-client/game-client/sync/network/util-java.jar
Required by:
project :