Add JetBrains annotations

This commit is contained in:
mkpaz 2023-02-09 14:23:56 +04:00
parent cc6b4c143b
commit 59b38ca682
5 changed files with 17 additions and 1 deletions

@ -15,6 +15,11 @@
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId> <artifactId>javafx-controls</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<optional>true</optional>
</dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>

@ -3,6 +3,7 @@
module atlantafx.base { module atlantafx.base {
requires transitive javafx.controls; requires transitive javafx.controls;
requires static org.jetbrains.annotations;
exports atlantafx.base.controls; exports atlantafx.base.controls;
exports atlantafx.base.theme; exports atlantafx.base.theme;

@ -71,7 +71,7 @@
<lib.cssfx.version>11.5.1</lib.cssfx.version> <lib.cssfx.version>11.5.1</lib.cssfx.version>
<lib.ikonli.version>12.3.1</lib.ikonli.version> <lib.ikonli.version>12.3.1</lib.ikonli.version>
<lib.datafaker.version>1.3.0</lib.datafaker.version> <lib.datafaker.version>1.3.0</lib.datafaker.version>
<lib.jetbrains-annotations.version>22.0.0</lib.jetbrains-annotations.version> <lib.jetbrains-annotations.version>23.0.0</lib.jetbrains-annotations.version>
<test.assertj.version>3.21.0</test.assertj.version> <test.assertj.version>3.21.0</test.assertj.version>
<test.junit.version>5.8.1</test.junit.version> <test.junit.version>5.8.1</test.junit.version>
</properties> </properties>
@ -124,6 +124,11 @@
<artifactId>ikonli-material2-pack</artifactId> <artifactId>ikonli-material2-pack</artifactId>
<version>${lib.ikonli.version}</version> <version>${lib.ikonli.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>${lib.jetbrains-annotations.version}</version>
</dependency>
<dependency> <dependency>
<groupId>fr.brouillard.oss</groupId> <groupId>fr.brouillard.oss</groupId>

@ -67,6 +67,10 @@
<groupId>org.kordamp.ikonli</groupId> <groupId>org.kordamp.ikonli</groupId>
<artifactId>ikonli-material2-pack</artifactId> <artifactId>ikonli-material2-pack</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</dependency>
<dependency> <dependency>
<groupId>fr.brouillard.oss</groupId> <groupId>fr.brouillard.oss</groupId>
<artifactId>cssfx</artifactId> <artifactId>cssfx</artifactId>

@ -14,6 +14,7 @@ module atlantafx.sampler {
requires org.kordamp.ikonli.javafx; requires org.kordamp.ikonli.javafx;
requires org.kordamp.ikonli.feather; requires org.kordamp.ikonli.feather;
requires org.kordamp.ikonli.material2; requires org.kordamp.ikonli.material2;
requires org.jetbrains.annotations;
requires fr.brouillard.oss.cssfx; requires fr.brouillard.oss.cssfx;
requires datafaker; requires datafaker;