Comments (7)
Java 17 requires Gradle 7.3.
I just started looking into upgrading ZAP builds to Gradle 7.3.3 yesterday 🙂.
from zap-hud.
It fails with same error:
Execution failed for task ':installNpmDeps'.
> Error while evaluating property 'environmentProvider' of task ':installNpmDeps'
> java.lang.reflect.UndeclaredThrowableException (no error message)
The npm plugin might need to be updated.
from zap-hud.
@kingthorin that is one fast tempo, oh Oakenshield!
√ zap-hud +main+ $ java -version
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment (build 17+35-2724)
OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
√ zap-hud +main+ $ ./gradlew runZap [INSERT]
Downloading https://services.gradle.org/distributions/gradle-7.3.3-all.zip
...............10%...............20%...............30%...............40%...............50%...............60%................70%...............80%...............90%...............100%
Welcome to Gradle 7.3.3!
Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3
For more details see https://docs.gradle.org/7.3.3/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins
> Task :installNpmDeps FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':installNpmDeps'.
> Error while evaluating property 'environmentProvider' of task ':installNpmDeps'
> java.lang.reflect.UndeclaredThrowableException (no error message)
* 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 1m 21s
11 actionable tasks: 11 executed
I ran build scan for details, here you go: https://scans.gradle.com/s/yxpjba3ajjsku/
from zap-hud.
I didn't check if a newer version of the plugin was available just assumed it would need a newer one (since this version is broken).
from zap-hud.
@LIttleAncientForestKami ciuld you update your cloned copy and give this a try again?
from zap-hud.
Thanks!
from zap-hud.
There "seems" to be something more to this. The dependencyUpdates task doesn't seem to suggest anything that I would think is related, it claims the npm plugin is up-to-date:
$ ./gradlew dependencyUpdates
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins
> Task :dependencyUpdates
------------------------------------------------------------
: Project Dependency Updates (report to plain text file)
------------------------------------------------------------
The following dependencies are using the latest milestone version:
- org.hamcrest:hamcrest-all:1.3
- org.ysb33r.nodejs.npm:org.ysb33r.nodejs.npm.gradle.plugin:0.12.1
- org.zaproxy.add-on:org.zaproxy.add-on.gradle.plugin:0.8.0
- org.zaproxy.crowdin:org.zaproxy.crowdin.gradle.plugin:0.2.1
The following dependencies have later milestone versions:
- com.diffplug.spotless:com.diffplug.spotless.gradle.plugin [5.17.1 -> 6.2.0]
- com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin [0.39.0 -> 0.41.0]
- io.github.bonigarcia:selenium-jupiter [3.4.0 -> 4.0.1]
https://bonigarcia.dev/selenium-jupiter
- org.junit.jupiter:junit-jupiter-api [5.8.1 -> 5.8.2]
https://junit.org/junit5/
- org.junit.jupiter:junit-jupiter-engine [5.8.1 -> 5.8.2]
https://junit.org/junit5/
- org.junit.jupiter:junit-jupiter-params [5.8.1 -> 5.8.2]
https://junit.org/junit5/
- org.mockito:mockito-all [1.10.19 -> 2.0.2-beta]
http://www.mockito.org
Gradle release-candidate updates:
- Gradle: [7.3.3 -> 7.4-rc-1]
Generated report file C:\Rick\ZAP_DEV\git\zap-hud\build\dependencyUpdates\report.txt
BUILD SUCCESSFUL in 3m 20s
10 actionable tasks: 10 executed
from zap-hud.
Related Issues (20)
- ZAP-HUD doesn't work with WebGoat 8.2.2 HOT 2
- 504 Gateway Timeout only when using the HUD HOT 1
- HUD does not allow me to set scope. HOT 1
- HUD not updating percentage for Spider, Ajax Spider and Attack HOT 1
- "Remove CSP from target pages" doesn't appear to remove the Content-Security-Policy header
- Running `ava` fails with `SyntaxError: Cannot use import statement outside a module`
- Update to use latest Vue.js HOT 12
- HUD not working with FireFox recently HOT 13
- HUD not working (arm64 linux) HOT 8
- Build failure with aarch64 HOT 1
- Proxy converts HTTP POST to GET when the HUD is enabled HOT 1
- HUD no longer loads reliably HOT 9
- HUD History time display (one digit) HOT 4
- HUD Tutorial is non-functional HOT 3
- ZAP HUD broken after emptying browser cache HOT 1
- Accessibility of the ZAP HUD
- HUD base directory lost on reboot ZAP v2.10.0 on Kali 2021.1 HOT 12
- Broke the HUD tutorial by navigating back and fourth with the green buttons. HOT 3
- Remove "X-Frame-Options: DENY" header
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zap-hud.