Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do not include "servlet-api" dependency
The servlet API is typically provided by the servlet container.
  • Loading branch information
dheid authored May 9, 2022
commit 5a6207cc32b666aac5d17e0a727f2367c801f9e4
2 changes: 1 addition & 1 deletion graphql-java-servlet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
api(project(':graphql-java-kickstart'))

// Servlet
api 'javax.servlet:javax.servlet-api:4.0.1'
compileOnly 'javax.servlet:javax.servlet-api:4.0.1'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to add it to be available for the tests so they can run.

api 'javax.websocket:javax.websocket-api:1.1'
implementation "org.slf4j:slf4j-api:$LIB_SLF4J_VER"

Expand Down