From 59b38ca6829119a9427d035f16a8e2cea9c11c2b Mon Sep 17 00:00:00 2001 From: mkpaz Date: Thu, 9 Feb 2023 14:23:56 +0400 Subject: [PATCH] Add JetBrains annotations --- base/pom.xml | 5 +++++ base/src/main/java/module-info.java | 1 + pom.xml | 7 ++++++- sampler/pom.xml | 4 ++++ sampler/src/main/java/module-info.java | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/base/pom.xml b/base/pom.xml index b037e70..5357089 100755 --- a/base/pom.xml +++ b/base/pom.xml @@ -15,6 +15,11 @@ org.openjfx javafx-controls + + org.jetbrains + annotations + true + org.junit.jupiter junit-jupiter-api diff --git a/base/src/main/java/module-info.java b/base/src/main/java/module-info.java index c586c47..d56c55c 100755 --- a/base/src/main/java/module-info.java +++ b/base/src/main/java/module-info.java @@ -3,6 +3,7 @@ module atlantafx.base { requires transitive javafx.controls; + requires static org.jetbrains.annotations; exports atlantafx.base.controls; exports atlantafx.base.theme; diff --git a/pom.xml b/pom.xml index 5b1290f..c433bf0 100755 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ 11.5.1 12.3.1 1.3.0 - 22.0.0 + 23.0.0 3.21.0 5.8.1 @@ -124,6 +124,11 @@ ikonli-material2-pack ${lib.ikonli.version} + + org.jetbrains + annotations + ${lib.jetbrains-annotations.version} + fr.brouillard.oss diff --git a/sampler/pom.xml b/sampler/pom.xml index 7b82329..73c5c6e 100755 --- a/sampler/pom.xml +++ b/sampler/pom.xml @@ -67,6 +67,10 @@ org.kordamp.ikonli ikonli-material2-pack + + org.jetbrains + annotations + fr.brouillard.oss cssfx diff --git a/sampler/src/main/java/module-info.java b/sampler/src/main/java/module-info.java index c31ea63..13ea029 100755 --- a/sampler/src/main/java/module-info.java +++ b/sampler/src/main/java/module-info.java @@ -14,6 +14,7 @@ module atlantafx.sampler { requires org.kordamp.ikonli.javafx; requires org.kordamp.ikonli.feather; requires org.kordamp.ikonli.material2; + requires org.jetbrains.annotations; requires fr.brouillard.oss.cssfx; requires datafaker;