Skip to content

Commit

Permalink
feat: Update required java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Dec 18, 2022
1 parent ab90bb9 commit cd875b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://docs.oracle.com/en/java/javase/19/"><img src="https://img.shields.io/badge/Java-Release%2019-green"/></a>
<a href="https://docs.oracle.com/en/java/javase/17/"><img src="https://img.shields.io/badge/Java-Release%2017-green"/></a>
<span>&nbsp;</span>
<a href="https://jitpack.io/#teletha/bee"><img src="https://img.shields.io/jitpack/v/github/teletha/bee?label=Repository&color=green"></a>
<span>&nbsp;</span>
Expand Down Expand Up @@ -28,7 +28,7 @@ It recognizes source code and package repositories and automates the entire life


## Prerequisites
Bee runs on all major operating systems and requires only [Java version 19](https://docs.oracle.com/en/java/javase/19/) or later to run.
Bee runs on all major operating systems and requires only [Java version 17](https://docs.oracle.com/en/java/javase/17/) or later to run.
To check, please run `java -version` from the command line interface. You should see something like this:
```
> java -version
Expand Down
2 changes: 1 addition & 1 deletion src/project/java/bee/Project.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Project extends bee.api.Project {
It recognizes source code and package repositories and automates the entire lifecycle from development to release.
""");

require(SourceVersion.RELEASE_19);
require(SourceVersion.RELEASE_19, SourceVersion.RELEASE_17);

// MAVEN REPOSITORY
require("org.apache.maven", "maven-resolver-provider");
Expand Down

0 comments on commit cd875b8

Please sign in to comment.