Skip to content

Commit 3af67a4

Browse files
committed
Update dependencies now that annotations is optional.
1 parent 5c87a60 commit 3af67a4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ dependencies {
142142

143143
// Unit testing
144144
testCompile 'org.testng:testng:6.9.10'
145-
testCompile "org.mockito:mockito-core:1.10.19"
145+
testCompile 'org.mockito:mockito-core:1.10.19'
146+
testCompile 'org.slf4j:slf4j-simple:1.7.24'
146147

147148
// Remove boilerplate
148149
compile 'org.projectlombok:lombok:1.16.8'
@@ -160,14 +161,16 @@ dependencies {
160161

161162
// GraphQL
162163
compile 'com.graphql-java:graphql-java:2.3.0'
163-
compile 'com.graphql-java:graphql-java-annotations:0.13.1'
164+
165+
// Optional, but used for testing... not sure if there's a better way.
166+
compileOnly 'com.graphql-java:graphql-java-annotations:0.13.1'
167+
testCompile 'com.graphql-java:graphql-java-annotations:0.13.1'
164168

165169
// JSON
166170
compile 'com.fasterxml.jackson.core:jackson-core:2.8.4'
167171
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.4'
168172
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
169173
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.4'
170-
171174
}
172175

173176
test.useTestNG()

0 commit comments

Comments
 (0)