Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update dependencies
  • Loading branch information
ctmay4 committed Oct 31, 2024
commit f15e05dac4fe238c1659fe306b9cb20c38643bbe
35 changes: 16 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ plugins {
id 'java-library'
id 'checkstyle'
id 'jacoco'
id "com.github.spotbugs" version "5.0.14"
id "com.github.spotbugs" version "6.0.25"
id 'maven-publish'
id 'signing'
id "io.codearte.nexus-staging" version "0.30.0"
id 'com.adarshr.test-logger' version '3.2.0'
id "com.github.ben-manes.versions" version "0.47.0"
id 'org.sonatype.gradle.plugins.scan' version '2.6.0'
id "org.sonarqube" version "4.2.1.3168"
id 'com.adarshr.test-logger' version '4.0.0'
id "com.github.ben-manes.versions" version "0.51.0"
id 'org.sonatype.gradle.plugins.scan' version '2.8.3'
id "org.sonarqube" version "5.1.0.4882"
}

group = 'com.imsweb'
version = '5.6'
description = 'Java client library for SEER*API'

tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.compilerArgs << "-Werror"
}
Expand All @@ -34,22 +34,19 @@ repositories {
}

dependencies {
spotbugs 'com.github.spotbugs:spotbugs:4.7.3'
spotbugs 'com.github.spotbugs:spotbugs:4.8.6'

api 'com.squareup.retrofit2:retrofit:2.9.0'
api 'com.squareup.retrofit2:converter-jackson:2.9.0'
api 'com.squareup.retrofit2:retrofit:2.11.0'
api 'com.squareup.retrofit2:converter-jackson:2.11.0'

// retrofit will not update these dependencies to fix vulnerabilities
api 'com.squareup.okhttp3:okhttp:4.11.0'
api 'com.squareup.okio:okio:3.4.0'
api 'com.squareup.okhttp3:okhttp:4.12.0'
api 'com.squareup.okio:okio:3.9.1'

// newer version of dependency to fix vulnerability until converter-jackson is updated
api 'com.fasterxml.jackson.core:jackson-databind:2.15.2'

testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.11.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
testImplementation 'org.assertj:assertj-core:3.26.3'
testImplementation 'com.google.code.bean-matchers:bean-matchers:0.14'
}

Expand All @@ -70,7 +67,7 @@ jar {
}
}

tasks.withType(Javadoc) {
tasks.withType(Javadoc).configureEach {
failOnError false
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
Expand Down