kinesis-vcr
kinesis-vcr copied to clipboard
Attempting to build a fat jar produces error message.
As per the readme, I'm trying to build a fat jar w/ ./gradlew shadowJar
, but I get the following output:
> ./gradlew shadowJar
FAILURE: Build failed with an exception.
* What went wrong:
Task 'shadowJar' not found in root project 'kinesis-vcr'.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 0s
lol, there seems to be no shadow jar plugin installed. Readme is clearly wrong. Try modifying the build.gradle file accordingly https://github.com/johnrengelman/shadow
Just adding id 'com.github.johnrengelman.shadow' version '7.0.0'
to the plugins caused complaints about an unsupported gradle version, so I upgraded gradle with ./gradlew wrapper --gradle-version=7.1.1
but then ran into other complaints about nebula.os-package, which is already on its latest version but seems to be using some removed APIs.
My knowledge of gradle could fill a post-it and is now exhausted.
Yeah, I would try older versions of the shadow plugin, preferably versions released back when this was project was active