Update 3rd party dependencies.

This commit is contained in:
Mark Nellemann 2021-12-11 20:17:52 +01:00
parent f24f9c5e40
commit 4200c0bf52
3 changed files with 12 additions and 13 deletions

View File

@ -1,6 +1,5 @@
apply plugin: "java-library" apply plugin: "java-library"
apply plugin: "groovy" apply plugin: "groovy"
apply plugin: 'maven'
apply plugin: 'jacoco' apply plugin: 'jacoco'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
@ -14,16 +13,16 @@ repositories {
dependencies { dependencies {
implementation("org.slf4j:slf4j-api:${slf4jVersion}") implementation("org.slf4j:slf4j-api:${slf4jVersion}")
api('com.google.code.gson:gson:2.8.8') api('com.google.code.gson:gson:2.8.9')
api('com.squareup.okhttp3:okhttp:4.9.1') api('com.squareup.okhttp3:okhttp:4.9.3')
testImplementation("org.slf4j:slf4j-simple:${slf4jVersion}") testImplementation("org.slf4j:slf4j-simple:${slf4jVersion}")
testImplementation('com.squareup.okhttp3:mockwebserver:4.9.1') testImplementation('com.squareup.okhttp3:mockwebserver:4.9.3')
testCompile("org.codehaus.groovy:groovy-all:${groovyVersion}") testImplementation("org.codehaus.groovy:groovy-all:${groovyVersion}")
testCompile("org.spockframework:spock-core:${spockVersion}") { testImplementation("org.spockframework:spock-core:${spockVersion}") {
exclude group: "org.codehaus.groovy" exclude group: "org.codehaus.groovy"
} }
testCompile('com.athaydes:spock-reports:2.0-groovy-3.0') { testImplementation('com.athaydes:spock-reports:2.1.1-groovy-3.0') {
transitive = false // this avoids affecting your version of Groovy/Spock transitive = false // this avoids affecting your version of Groovy/Spock
} }
@ -46,14 +45,14 @@ test {
} }
jacoco { jacoco {
toolVersion = "0.8.4" toolVersion = "0.8.7"
} }
jacocoTestReport { jacocoTestReport {
group = "verification" group = "verification"
reports { reports {
xml.enabled false xml.required = false
csv.enabled false csv.required = false
html.destination file("${buildDir}/reports/coverage") html.destination file("${buildDir}/reports/coverage")
} }
afterEvaluate { afterEvaluate {

View File

@ -1,8 +1,8 @@
id = libcvrapi id = libcvrapi
group = biz.nellemann.libs group = biz.nellemann.libs
version = 1.0.8 version = 1.0.9
licenses = ['APACHE-2.0'] // or something else licenses = ['APACHE-2.0'] // or something else
groovyVersion = 3.0.8 groovyVersion = 3.0.9
slf4jVersion = 1.7.32 slf4jVersion = 1.7.32
spockVersion = 2.0-groovy-3.0 spockVersion = 2.0-groovy-3.0
siteUrl = https://bitbucket.org/mnellemann/libcvrapi siteUrl = https://bitbucket.org/mnellemann/libcvrapi

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists