This project and the corresponding community is governed by the [JetBrains Open Source and Community Code of Conduct](https://confluence.jetbrains.com/display/ALL/JetBrains+Open+Source+and+Community+Code+of+Conduct). Please make sure you read it.
@@ -6,10 +6,10 @@ interpreted by IDEs and static analysis tools to improve code analysis.
## Using the annotations
The annotations are published on [Maven Central](http://repo1.maven.org/maven2/org/jetbrains/annotations/) and [JCenter](https://jcenter.bintray.com/org/jetbrains/annotations/). To add a dependency
using gradle write the following in `build.gradle` file:
using gradle write the following in the `build.gradle` file:
```
dependencies {
compile 'org.jetbrains:annotations:16.0.3'
compileOnly 'org.jetbrains:annotations:18.0.0'
}
```
...
...
@@ -18,12 +18,12 @@ To add a dependency using Maven write the following in `pom.xml`:
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>16.0.3</version>
<version>18.0.0</version>
</dependency>
```
`annotations` artifact require JDK 1.8 or higher. If your project is compiled using JDK 1.5, 1.6 or 1.7 you can use
`annotations-java5` artifact instead.
`annotations` artifact requires JDK 1.8 or higher. If your project is compiled using JDK 1.5, 1.6 or 1.7 you can use