File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
src/main/java/com/amadeus Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,18 @@ jobs:
13
13
14
14
runs-on : ubuntu-latest
15
15
16
+ strategy :
17
+ matrix :
18
+ java : [ '8', '11' ]
19
+ env :
20
+ JDK_VERSION : ${{ matrix.java }}
21
+ name : Java ${{ matrix.java }} build
16
22
steps :
17
- - uses : actions/checkout@v2
18
- - name : Set up JDK 8
19
- uses : actions/setup-java@v2
23
+ - uses : actions/checkout@v3
24
+ - name : Set up Java
25
+ uses : actions/setup-java@v3
20
26
with :
21
- java-version : ' 8 '
27
+ java-version : ${{ matrix.java }}
22
28
distribution : ' adopt'
23
29
cache : gradle
24
30
- name : Grant execute permission for gradlew
Original file line number Diff line number Diff line change @@ -26,8 +26,11 @@ repositories {
26
26
27
27
dependencies {
28
28
implementation ' com.google.code.gson:gson:2.9.0'
29
- implementation " org.projectlombok:lombok:1.16.16"
30
- testImplementation " org.mockito:mockito-core:2.12.0"
29
+ compileOnly " org.projectlombok:lombok:1.18.24"
30
+ annotationProcessor ' org.projectlombok:lombok:1.18.24'
31
+ testCompileOnly ' org.projectlombok:lombok:1.18.24'
32
+ testAnnotationProcessor ' org.projectlombok:lombok:1.18.24'
33
+ testImplementation ' org.mockito:mockito-core:4.6.1'
31
34
testRuntimeOnly " org.slf4j:slf4j-api:1.7.10"
32
35
testImplementation ' org.junit.jupiter:junit-jupiter-api:5.8.1'
33
36
testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.8.1'
Original file line number Diff line number Diff line change 1
1
package com .amadeus ;
2
2
3
- import com .amadeus .Constants ;
4
-
5
- import com .google .gson .JsonElement ;
6
3
import java .io .IOException ;
7
4
import java .net .HttpURLConnection ;
8
5
import java .net .URL ;
You can’t perform that action at this time.
0 commit comments