From a4857f7a4e457ff4c7c7e8da8410129efd4aabcf Mon Sep 17 00:00:00 2001 From: Krakenied Date: Tue, 13 May 2025 19:30:31 +0200 Subject: API cleanup & ensure compatibility --- common/build.gradle.kts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'common/build.gradle.kts') diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 223a9a0c..d8e3b2cd 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,7 +1,15 @@ +plugins { + `java-library` +} + repositories { mavenCentral() } dependencies { - compileOnly("org.jetbrains:annotations:26.0.1") + // Use it for nullability annotations + api("org.jspecify:jspecify:1.0.0") + + // Use it for contracts and unmodifiability annotations + api("org.jetbrains:annotations:26.0.2") } -- cgit v1.2.3-70-g09d2