Skip to content

Commit 6262b83

Browse files
authored
Migrate to Java 11 (#29)
1 parent f222f30 commit 6262b83

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

.github/workflows/test-with-allure-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v2
3434

35-
- name: Set up JDK 1.8
35+
- name: Set up JDK 11
3636
uses: actions/setup-java@v2
3737
with:
38-
java-version: '8'
38+
java-version: '11'
3939
distribution: 'adopt'
4040
cache: maven
4141

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
mavenPomFile: 'pom.xml'
2626
mavenOptions: '-Xmx3072m'
2727
javaHomeOption: 'JDKVersion'
28-
jdkVersionOption: '1.8'
28+
jdkVersionOption: '11'
2929
jdkArchitectureOption: 'x64'
3030
publishJUnitResults: true
3131
testResultsFiles: '**/surefire-reports/TEST-*.xml'
@@ -50,7 +50,7 @@ jobs:
5050
mavenPomFile: 'pom.xml'
5151
mavenOptions: '-Xmx3072m'
5252
javaHomeOption: 'JDKVersion'
53-
jdkVersionOption: '1.8'
53+
jdkVersionOption: '11'
5454
jdkArchitectureOption: 'x64'
5555
publishJUnitResults: true
5656
testResultsFiles: '**/surefire-reports/TEST-*.xml'

pom.xml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,7 @@
3333
<dependency>
3434
<groupId>com.github.aquality-automation</groupId>
3535
<artifactId>aquality-selenium</artifactId>
36-
<version>4.1.4</version>
37-
</dependency>
38-
39-
<dependency>
40-
<groupId>com.google.guava</groupId>
41-
<artifactId>guava</artifactId>
42-
<version>32.1.2-jre</version>
36+
<version>4.4.0</version>
4337
</dependency>
4438

4539
<dependency>
@@ -89,8 +83,8 @@
8983
<artifactId>maven-compiler-plugin</artifactId>
9084
<version>3.12.1</version>
9185
<configuration>
92-
<source>1.8</source>
93-
<target>1.8</target>
86+
<source>11</source>
87+
<target>11</target>
9488
</configuration>
9589
</plugin>
9690

0 commit comments

Comments
 (0)