Skip to content

Commit

Permalink
Always use latest supported
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Feb 16, 2022
1 parent f73d090 commit c1141dc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Magic Bean

<img src="./logo.png"></img>

A very basic library which will generate POJOs.

Requires Java 17+.
Expand All @@ -10,7 +12,7 @@ Requires Java 17+.
<dependency>
<groupId>dev.mccue</groupId>
<artifactId>magic-bean</artifactId>
<version>3.1.0</version>
<version>3.1.1</version>
<scope>provided</scope>
</dependency>
```
Expand All @@ -37,9 +39,6 @@ The non-goals of this library are
[immutables](https://immutables.github.io/), or elbow grease for that.
3. Support old Java versions.

PRs welcome for
- carrying over annotations to generated get and set methods.

## Usage

### Basic Example
Expand Down
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.mccue</groupId>
<artifactId>magic-bean</artifactId>
<version>3.1.0</version>
<version>3.1.1</version>
<packaging>jar</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
public final class AnnotationProcessor extends AbstractProcessor {
@Override
public SourceVersion getSupportedSourceVersion() {
return Collections.max(
List.of(SourceVersion.latest(),
SourceVersion.RELEASE_17)
);
return SourceVersion.latest();
}

@Override
Expand Down

0 comments on commit c1141dc

Please sign in to comment.