You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm able to import and use the library in a Java 8 project to interact with the Svix webhook service API in general, but can't use this Webhook class. This looks to be the only application code which is using Java 11+ features (e.g. java.net.http.HttpHeaders class).
Could potentially either bump the minimum supported Java version to 11, or update this class and tests to be Java 8 compatible - though unsure of what would be the best way to do that without affecting existing downstream users of the verify() method.
Bug Report
Description
java.net.http
was introduced to Java with 11, not 1.8. Therefore, the java libs project will not compile.I tried this code:
./gradlew build
I expected to see this happen: build successfully
Instead, this happened:
Webhook.java:3 error: package java.net.http does not exist import java.net.http.HttpHeaders;
The text was updated successfully, but these errors were encountered: