Skip to content

Commit

Permalink
upgrade jackson 2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tung-vu-td committed May 20, 2024
1 parent eeba334 commit a3546c5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
17 changes: 12 additions & 5 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@

apply plugin: 'java'

sourceCompatibility = 1.7
//sourceCompatibility = 1.8
java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8

repositories {
mavenCentral()
google()
}

dependencies {
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.3.0'
testImplementation 'commons-io:commons-io:2.4'
testImplementation 'junit:junit:4.11'
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
testImplementation 'commons-io:commons-io:2.7'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
testImplementation 'org.mockito:mockito-core:1.9.5'
testImplementation 'org.mockito:mockito-core:5.3.1'
}

jar {
Expand Down
4 changes: 1 addition & 3 deletions core/src/test/java/io/keen/client/java/KeenClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.ArgumentCaptor;

import java.awt.*;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Calendar;
Expand All @@ -34,7 +32,7 @@
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import static org.mockito.Matchers.any;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
Expand Down
4 changes: 2 additions & 2 deletions gradle/gradle-mvn-publish-java.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}

task sourcesJar(type: Jar) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit a3546c5

Please sign in to comment.