Skip to content

Commit be8f299

Browse files
authored
Merge pull request #5 from STDevDos/codex/actualizar-referencias-a-java-21
Update build config to Java 21
2 parents d35e72c + b086def commit be8f299

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ContinuousIntegration_java-practices.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v1
12-
- name: Set up JDK 11
12+
- name: Set up JDK 21
1313
uses: actions/setup-java@v1
1414
with:
15-
java-version: 11
15+
java-version: 21
1616
- name: Build with Maven
1717
run: mvn -B package --file pom.xml

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
<groupId>org.apache.maven.plugins</groupId>
9999
<artifactId>maven-compiler-plugin</artifactId>
100100
<configuration>
101-
<source>17</source>
102-
<target>17</target>
101+
<source>21</source>
102+
<target>21</target>
103103
</configuration>
104104
</plugin>
105105
</plugins>
@@ -108,9 +108,9 @@
108108
<properties>
109109
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
110110
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
111-
<java.version>17</java.version>
112-
<maven.compiler.source>17</maven.compiler.source>
113-
<maven.compiler.target>17</maven.compiler.target>
111+
<java.version>21</java.version>
112+
<maven.compiler.source>21</maven.compiler.source>
113+
<maven.compiler.target>21</maven.compiler.target>
114114

115115
<junit-plataform.version>5.6.1</junit-plataform.version>
116116
<mockito-junit-jupiter.version>3.3.3</mockito-junit-jupiter.version>

0 commit comments

Comments
 (0)