diff --git a/README.md b/README.md
index 7063522a..03f7126a 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,8 @@ Are you interested in improving our documentation, working on the codebase, revi
## Quick start
+GraphQL Java Tools requires Java 17 or later.
+
### Using Gradle
Set the Kotlin version in your `gradle.properties`:
```
@@ -26,7 +28,7 @@ kotlin.version=2.3.10
Add the dependency:
```groovy
-compile 'io.github.graphql-java-kickstart:graphql-java-tools:14.5.0'
+implementation 'io.github.graphql-java-kickstart:graphql-java-tools:14.5.0'
```
### Using Maven
diff --git a/pom.xml b/pom.xml
index aac7fb7f..6908f522 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,8 +20,6 @@
26.1
1.0.4
- ${java.version}
- ${java.version}
false
github
@@ -81,16 +79,11 @@
org.springframework
spring-aop
- 5.3.39
+ 7.0.10
provided
-
- cglib
- cglib-nodep
- 3.3.0
-
ch.qos.logback
logback-classic
@@ -106,11 +99,6 @@
junit
4.13.2
-
- org.objenesis
- objenesis
- 3.6
-
org.reactivestreams
reactive-streams-tck
@@ -202,16 +190,6 @@
junit
test
-
- cglib
- cglib-nodep
- test
-
-
- org.objenesis
- objenesis
- test
-
org.reactivestreams
reactive-streams-tck
@@ -247,7 +225,7 @@
maven-compiler-plugin
3.16.0
- 17
+ ${java.version}
true
@@ -257,6 +235,7 @@
maven-surefire-plugin
3.6.0
+
org.apache.maven.surefire
surefire-junit4
diff --git a/renovate.json b/renovate.json
index ed68ddc2..731a5f3a 100644
--- a/renovate.json
+++ b/renovate.json
@@ -18,13 +18,6 @@
"org.jetbrains.kotlin:{/,}**"
]
},
- {
- "description": "Spring 6 requires Java 17",
- "allowedVersions": "<6.0.0",
- "matchPackageNames": [
- "/org.springframework/"
- ]
- },
{
"description": "Release/snapshot builds use the minimum supported JDK",
"matchDepNames": [
diff --git a/src/main/kotlin/module-info.java b/src/main/kotlin/module-info.java
index e0590cc3..7f9b572f 100644
--- a/src/main/kotlin/module-info.java
+++ b/src/main/kotlin/module-info.java
@@ -16,7 +16,8 @@
requires org.apache.commons.lang3;
requires org.reactivestreams;
requires org.slf4j;
- requires spring.aop;
+ // only for applications that have Spring AOP proxies
+ requires static spring.aop;
exports graphql.kickstart.tools;