From 968fc942ff6d4a3c3202fb1a994e8db4705b6ee9 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Mon, 4 Nov 2024 14:12:50 +0800 Subject: [PATCH] Only add dependency `jakarta.annotation-api` to `grace-async-core` Closes gh-10 --- build.gradle | 2 -- grace-async-core/build.gradle | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 grace-async-core/build.gradle diff --git a/build.gradle b/build.gradle index 339f48a..57e01b8 100644 --- a/build.gradle +++ b/build.gradle @@ -94,8 +94,6 @@ subprojects { project-> dependencies { api "org.apache.groovy:groovy:$groovyVersion" api "org.slf4j:slf4j-api:$slf4jVersion" - api "jakarta.inject:jakarta.inject-api:$jakartaInjectVersion" - api "jakarta.annotation:jakarta.annotation-api:$jakartaAnnotationVersion" documentation "org.fusesource.jansi:jansi:$jansiVersion" documentation "org.apache.groovy:groovy-dateutil:$groovyVersion" documentation "info.picocli:picocli:4.6.3" diff --git a/grace-async-core/build.gradle b/grace-async-core/build.gradle new file mode 100644 index 0000000..0809714 --- /dev/null +++ b/grace-async-core/build.gradle @@ -0,0 +1,3 @@ +dependencies { + api "jakarta.annotation:jakarta.annotation-api:$jakartaAnnotationVersion" +} \ No newline at end of file