Now I am getting:
FAILURE: Build failed with an exception.
* Where:
Build file '/home/xkiv/src2/kolmafia-git/build.gradle' line: 198
* What went wrong:
Could not determine the dependencies of task ':jar'.
> Resolving dependency configuration 'implementation' is not allowed as it is defined as 'canBeResolved=false'.
Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'implementation' should be resolved.
Workaround: use configurations.compileClasspath.collect instead of configurations.implementation.collect
after that, I still can't run build (./gradlew build) because of missing dependencies
Workaround: add to build.gradle:
distZip.dependsOn shadowJar
distTar.dependsOn shadowJar
startScripts.dependsOn shadowJar
startShadowScripts.dependsOn jar