Skip to content

Commit 13c81d2

Browse files
committed
Update documentation, bump version
1 parent 82967ef commit 13c81d2

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
===
33

4+
Version 25.0.0
5+
---
6+
* Removed Java 5 artifact.
7+
48
Version 24.1.0
59
---
610
* `@CheckReturnValue` is not experimental anymore.

CONTRIBUTING.md

-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ During the new version release:
1717
* Use 'Draft a new release' button on the Releases GitHub page; select the added tag; copy it to the release title
1818
field; copy the added changelog section into the release details field.
1919

20-
### Java 5 package
21-
We generate annotations-java5 package for legacy clients. This package cannot use ElementType.TYPE_USE
22-
which appeared in Java 8. The Java 5 package is generated from common/src sources
23-
stripping the `, ElementType.TYPE_USE` substring from files.
24-
So no Java features that appear in Java 6 or higher except `ElementType.TYPE_USE` should be used in common/src.
25-
New TYPE_USE annotations should be created in java8/src. They will not appear in annotations-java5 package.
26-
2720
### Backward compatibility
2821
All the changes should be backward compatible i.e. you can only add new annotations and new elements into existing annotation.
2922
If it's absolutely necessary to remove an annotation or its element we must firstly release a new major version where

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ using gradle write the following in the
1717
`build.gradle` file (Groovy DSL)
1818
```
1919
dependencies {
20-
compileOnly 'org.jetbrains:annotations:24.1.0'
20+
compileOnly 'org.jetbrains:annotations:25.0.0'
2121
}
2222
2323
```
2424

2525
or in the `build.gradle.kts` file (Kotlin DSL)
2626
```
2727
dependencies {
28-
compileOnly("org.jetbrains:annotations:24.1.0")
28+
compileOnly("org.jetbrains:annotations:25.0.0")
2929
}
3030
3131
```
@@ -34,11 +34,11 @@ To add a dependency using Maven, write the following in `pom.xml`:
3434
<dependency>
3535
<groupId>org.jetbrains</groupId>
3636
<artifactId>annotations</artifactId>
37-
<version>24.1.0</version>
37+
<version>25.0.0</version>
3838
<scope>provided</scope>
3939
</dependency>
4040
```
4141

42-
`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
43-
the `annotations-java5` artifact instead. Please note that `annotations-java5` artifact is considered a legacy, so
44-
most of new annotations will appear in the `annotations` artifact only.
42+
`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
43+
the `annotations-java5` artifact instead. Please note that `annotations-java5` artifact is considered a legacy
44+
and will receive no further updates.

gradle.properties

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@
1414
# limitations under the License.
1515
#
1616

17-
projectVersion=24.1.0
18-
#JDK_5=<path-to-older-java-version>
17+
projectVersion=25.0.0

0 commit comments

Comments
 (0)