Tried using make
and ./gradlew
(As per the projects README).
Tried using Sudo, and different gradlew arguments, but kept getting this same issue on RHEL 9.4.
I get a cache error on Fedora, trie marking cache folders as old, but didn’t work. I would also like this to work when using the make
command, as I am working on packaging this IP Scanner.
Link to project: GitHub - angryip/ipscan: Angry IP Scanner - fast and friendly network scanner
I am unsure how to proceed here, and don’t have much experience with Gradle. If anyone could point me in the right direction, that would be appreciated.
Thank you!
RHEL logs: (Sudo ./gradlew current, but I get this same error for all)
> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :linux64.min FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':linux64.min'.
> java.io.IOException: Please correct the above warnings first.
* Try:
> 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 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 25s
4 actionable tasks: 4 executed
Fedora logs: (sudo ./gradlew all, but I get this same error for all)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'ipscan'.
> Could not open cp_proj generic class cache for build file '/home/owen/Documents/Projects/ipscan/build.gradle' (/root/.gradle/caches/7.6/scripts/446icnjucu6qaz9qd41o5kbol).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65
* Try:
> 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
BUILD FAILED in 1s