Skip to content

Commit

Permalink
Mention JDK <11 support deprecation in README (#303)
Browse files Browse the repository at this point in the history
Target compatibility is still set to 8, but it might change in the future, if needed.
  • Loading branch information
szpak authored Jan 22, 2024
1 parent 73f4836 commit f500af4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ group = "com.example.library"
version = "1.0.0"
```

#### Java compatibility

As of version 2.x, support for JDK <11 is [deprecated](https://github.com/gradle-nexus/publish-plugin/issues/171). The JDK taget compatibility is still set to 8, however, it is encouraged to use the latest possible Java version (e.g. 21+). As being deprecated, support for JDK <11 might be dropped in a future minor plugin version (i.e. 2.x).

### Publishing to Maven Central via Sonatype OSSRH

In order to publish to Maven Central (aka the Central Repository or just Central) via Sonatype's OSSRH Nexus, you simply need to add the `sonatype()` repository like in the example below. Its `nexusUrl` and `snapshotRepositoryUrl` values are pre-configured.
Expand Down

0 comments on commit f500af4

Please sign in to comment.