We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c36487a + cc01843 commit d2b9ea9Copy full SHA for d2b9ea9
README.md
@@ -13,12 +13,21 @@ interpreted by IDEs and static analysis tools to improve code analysis.
13
14
## Using the annotations
15
The annotations are published on [Maven Central](https://repo1.maven.org/maven2/org/jetbrains/annotations/). To add a dependency
16
-using gradle write the following in the `build.gradle` file:
+using gradle write the following in the
17
+`build.gradle` file (Goovy DSL)
18
```
19
dependencies {
20
compileOnly 'org.jetbrains:annotations:24.0.0'
21
}
22
23
+```
24
+
25
+or in the `build.gradle.kts` file (Kotlin DSL)
26
27
+dependencies {
28
+ compileOnly("org.jetbrains:annotations:24.0.0")
29
+}
30
31
32
To add a dependency using Maven, write the following in `pom.xml`:
33
```xml
0 commit comments