Skip to content

Commit 74ed688

Browse files
committed
Make the minimum Java version 8
1 parent 8381dde commit 74ed688

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
platform: [ ubuntu-latest ]
16-
java-version: [ 21 ]
16+
java-version: [ 8, 11, 21 ]
1717

1818
runs-on: ${{ matrix.platform }}
1919
env:

api/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@
5959
</dependency>
6060

6161
<!-- End OpenMRS core -->
62+
63+
<dependency>
64+
<groupId>org.mockito</groupId>
65+
<artifactId>mockito-inline</artifactId>
66+
<scope>test</scope>
67+
</dependency>
6268

6369
</dependencies>
6470

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<properties>
4848
<openmrsPlatformVersion>2.7.3</openmrsPlatformVersion>
4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
50-
<javaCompilerVersion>21</javaCompilerVersion>
50+
<javaCompilerVersion>8</javaCompilerVersion>
5151
</properties>
5252

5353
<dependencyManagement>

0 commit comments

Comments
 (0)