Skip to content

Commit e8c7ca5

Browse files
authored
Merge pull request #127 from connyduck/update_dependencies
Update dependencies
2 parents 9a1db18 + 12b7a5d commit e8c7ca5

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

kontent-delivery-generators/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "io.franzbecker.gradle-lombok" version "1.14"
2+
id "io.franzbecker.gradle-lombok" version "4.0.0"
33
}
44

55
apply plugin: 'java'
@@ -11,17 +11,17 @@ sourceCompatibility = "1.8"
1111
targetCompatibility = "1.8"
1212

1313
dependencies {
14-
compile('com.squareup:javapoet:1.9.0')
15-
compile('com.google.guava:guava:23.0')
14+
implementation('com.squareup:javapoet:1.13.0')
15+
implementation('com.google.guava:guava:24.1-jre')
1616
implementation project(':kontent-delivery')
1717

18-
testCompile("junit:junit:4.12");
19-
testCompile("org.apache.httpcomponents:httpclient:4.5.3:tests");
20-
testCompile("org.apache.httpcomponents:httpclient:4.5.3");
18+
testImplementation("junit:junit:4.13.1");
19+
testImplementation("org.apache.httpcomponents:httpclient:4.5.13:tests");
20+
testImplementation("org.apache.httpcomponents:httpclient:4.5.13");
2121
}
2222

2323
lombok {
24-
version = "1.18.2"
24+
version = "1.18.16"
2525
sha256 = ""
2626
}
2727

kontent-delivery/build.gradle

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "io.franzbecker.gradle-lombok" version "1.14"
2+
id "io.franzbecker.gradle-lombok" version "4.0.0"
33
}
44

55
apply plugin: 'java'
@@ -10,27 +10,27 @@ sourceCompatibility = "1.8"
1010
targetCompatibility = "1.8"
1111

1212
dependencies {
13-
implementation("org.slf4j:slf4j-api:1.7.25")
13+
implementation("org.slf4j:slf4j-api:1.7.30")
1414

15-
implementation("com.fasterxml.jackson.core:jackson-core:2.8.9")
16-
implementation("com.fasterxml.jackson.core:jackson-databind:2.8.9")
17-
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.4.0")
15+
implementation("com.fasterxml.jackson.core:jackson-core:2.12.0")
16+
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.0")
17+
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.0")
1818

1919
implementation("com.madrobot:madrobotbeans:0.1")
2020
implementation("io.github.classgraph:classgraph:4.8.90")
2121

22-
implementation("com.squareup.okhttp3:okhttp:4.5.0")
22+
implementation("com.squareup.okhttp3:okhttp:4.9.0")
2323

24-
compileOnly("org.thymeleaf:thymeleaf:3.0.0.RELEASE")
25-
testCompile("org.thymeleaf:thymeleaf:3.0.0.RELEASE")
24+
compileOnly("org.thymeleaf:thymeleaf:3.0.11.RELEASE")
25+
testImplementation("org.thymeleaf:thymeleaf:3.0.11.RELEASE")
2626

27-
testCompile("junit:junit:4.12")
28-
testCompile("org.apache.httpcomponents:httpclient:4.5.3:tests")
29-
testCompile("org.apache.httpcomponents:httpclient:4.5.3")
27+
testImplementation("junit:junit:4.13.1")
28+
testImplementation("org.apache.httpcomponents:httpclient:4.5.13:tests")
29+
testImplementation("org.apache.httpcomponents:httpclient:4.5.13")
3030
}
3131

3232
lombok {
33-
version = "1.18.2"
33+
version = "1.18.16"
3434
sha256 = ""
3535
}
3636

kontent-delivery/src/main/java/kentico/kontent/delivery/DeliveryClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import com.fasterxml.jackson.databind.ObjectMapper;
3131
import com.fasterxml.jackson.databind.SerializationFeature;
3232
import com.fasterxml.jackson.databind.module.SimpleModule;
33-
import com.fasterxml.jackson.datatype.jsr310.JSR310Module;
33+
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
3434
import kentico.kontent.delivery.template.TemplateEngineConfig;
3535
import lombok.extern.slf4j.Slf4j;
3636
import okhttp3.*;
@@ -666,7 +666,7 @@ private void reconfigureDeserializer() {
666666
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
667667

668668
SimpleModule module = new SimpleModule();
669-
objectMapper.registerModule(new JSR310Module());
669+
objectMapper.registerModule(new JavaTimeModule());
670670
objectMapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
671671

672672
objectMapper.registerModule(module);

0 commit comments

Comments
 (0)