Skip to content

Commit

Permalink
Relax minimum JDK requirement to JDK 11 (#3)
Browse files Browse the repository at this point in the history
fixes #2
  • Loading branch information
kevinherron authored Sep 2, 2024
1 parent 52ee3b4 commit 172a82f
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '11'
distribution: 'temurin'
cache: maven

Expand Down
8 changes: 1 addition & 7 deletions byteops-netty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@

<artifactId>byteops-netty</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.digitalpetri.util</groupId>
Expand Down Expand Up @@ -47,4 +41,4 @@
</dependency>
</dependencies>

</project>
</project>
8 changes: 1 addition & 7 deletions byteops-unsigned/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@

<artifactId>byteops-unsigned</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.digitalpetri.util</groupId>
Expand All @@ -41,4 +35,4 @@
</dependency>
</dependencies>

</project>
</project>
6 changes: 0 additions & 6 deletions byteops/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@

<artifactId>byteops</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
</scm>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Dependencies -->
Expand Down Expand Up @@ -166,4 +166,4 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>
</project>

0 comments on commit 172a82f

Please sign in to comment.