Skip to content

Commit

Permalink
Use Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Delporte committed Dec 20, 2022
1 parent 7d1fb43 commit c81accf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Build and run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: 11
java-version: 17
distribution: 'zulu'

# Prepare for upload to Maven Central
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# pi4j-springboot
Pi4J Spring Boot Starter
# Pi4J Spring Boot Starter

## How to use

This starter requires Java 17 or higher.
14 changes: 0 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<pi4j.version>2.2.1</pi4j.version>

<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>

</properties>

<modules>
Expand All @@ -37,9 +36,7 @@
</dependencies>

<dependencyManagement>

<dependencies>

<dependency>
<groupId>com.pi4j</groupId>
<artifactId>pi4j-core</artifactId>
Expand All @@ -62,17 +59,12 @@
<version>${pi4j.version}</version>
<scope>test</scope>
</dependency>

</dependencies>

</dependencyManagement>

<build>

<pluginManagement>

<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -128,15 +120,9 @@
</rules>
</configuration>
</execution>

</executions>

</plugin>

</plugins>

</pluginManagement>

</build>

</project>

0 comments on commit c81accf

Please sign in to comment.