File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed
src/main/java/com/amadeus Expand file tree Collapse file tree 3 files changed +16
-12
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 1
1
plugins {
2
2
id ' java'
3
- id ' io.franzbecker.gradle-lombok' version ' 4 .0.0'
3
+ id ' io.franzbecker.gradle-lombok' version ' 5 .0.0'
4
4
id ' checkstyle'
5
5
id ' com.vanniktech.maven.publish' version ' 0.18.0'
6
6
id ' jacoco'
@@ -26,14 +26,15 @@ 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"
31
- testRuntimeOnly " org.slf4j:slf4j-api:1.7.10"
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'
32
34
testImplementation ' org.junit.jupiter:junit-jupiter-api:5.8.1'
33
35
testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.8.1'
34
36
testImplementation ' org.assertj:assertj-core:3.22.0'
35
37
testImplementation ' com.github.tomakehurst:wiremock:2.27.2'
36
- testImplementation ' io.rest-assured:rest-assured:5.0.0'
37
38
testImplementation ' org.slf4j:slf4j-api:1.7.36'
38
39
testImplementation ' org.slf4j:slf4j-simple:1.7.36'
39
40
}
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