diff --git a/graphql-spring-boot-starter/build.gradle b/graphql-spring-boot-starter/build.gradle index 1393d4aa..2efbe23c 100644 --- a/graphql-spring-boot-starter/build.gradle +++ b/graphql-spring-boot-starter/build.gradle @@ -11,10 +11,6 @@ description = "GraphQL Spring Boot Starter" sourceCompatibility = 1.8 targetCompatibility = 1.8 -configurations { - apt -} - dependencyManagement { imports { mavenBom SpringBootPlugin.BOM_COORDINATES @@ -25,12 +21,12 @@ dependencyManagement { } dependencies { - api project(':spring-graphql-web') + api project(':spring-graphql-web') api 'com.graphql-java:graphql-java:15.0' // Reactor is required as it's part of the interception model api 'io.projectreactor:reactor-core' api 'org.springframework:spring-context' - api 'org.springframework.boot:spring-boot-starter' + api 'org.springframework.boot:spring-boot-starter' compileOnly 'org.springframework:spring-webflux' compileOnly 'org.springframework:spring-webmvc' @@ -41,7 +37,7 @@ dependencies { compileOnly 'io.micrometer:micrometer-core' compileOnly 'org.springframework.boot:spring-boot-actuator-autoconfigure' - apt 'javax.annotation:javax.annotation-api:1.3.2' + compileOnly 'com.google.code.findbugs:jsr305:3.0.2' annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' annotationProcessor 'org.springframework.boot:spring-boot-autoconfigure-processor' @@ -57,10 +53,6 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' } -compileJava { - options.annotationProcessorPath = configurations.apt -} - test { useJUnitPlatform() testLogging {