Skip to content

Commit

Permalink
Update dependencies (#28)
Browse files Browse the repository at this point in the history
* Gradle: 7.3.3 -> 7.5.1

* Gradle: update dependencies

* kotlinter: fix format

* CI: update actions

* Bump version: 0.9.2 -> 0.9.3
  • Loading branch information
veehaitch authored Sep 22, 2022
1 parent 367cc18 commit bf201b5
Show file tree
Hide file tree
Showing 32 changed files with 346 additions and 338 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
build:
strategy:
Expand All @@ -32,9 +32,9 @@ jobs:
name: Build with JDK ${{ matrix.java }} on ${{ matrix.os }}
steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: adopt
Expand All @@ -48,9 +48,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
Expand All @@ -59,7 +59,7 @@ jobs:
with:
arguments: jacocoTestReport
- name: Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
file: build/reports/jacoco/test/jacocoTestReport.xml
artifacts:
Expand All @@ -68,9 +68,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
Expand All @@ -79,7 +79,7 @@ jobs:
with:
arguments: jar javadocJar sourcesJar
- name: Upload JAR, Javadoc, and source artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: artifacts-jar-javadoc-sources
path: build/libs/
Expand All @@ -90,9 +90,9 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
Expand Down
26 changes: 13 additions & 13 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import java.net.URL

plugins {
// Apply the Kotlin JVM plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm") version "1.6.10"
id("io.gitlab.arturbosch.detekt") version "1.19.0"
id("org.jmailen.kotlinter") version "3.8.0"
id("org.jetbrains.kotlin.jvm") version "1.7.10"
id("io.gitlab.arturbosch.detekt") version "1.21.0"
id("org.jmailen.kotlinter") version "3.12.0"
id("jacoco")
id("com.github.ben-manes.versions") version "0.40.0"
id("org.jetbrains.dokka") version "1.6.10"
id("com.github.ben-manes.versions") version "0.42.0"
id("org.jetbrains.dokka") version "1.7.10"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"

// Apply the java-library plugin for API and implementation separation.
Expand All @@ -28,7 +28,7 @@ java {

allprojects {
group = "ch.veehait.devicecheck"
val baseVersion = "0.9.3"
val baseVersion = "0.9.4"

// Add the "-SNAPSHOT" suffix if the CI wasn't triggered by a new release
version = when {
Expand Down Expand Up @@ -116,10 +116,10 @@ dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")

// Kotlin coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")

// CBOR
val jacksonVersion = "2.13.1"
val jacksonVersion = "2.13.4"
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:$jacksonVersion")
testImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jacksonVersion")
Expand All @@ -131,22 +131,22 @@ dependencies {
implementation("org.bouncycastle:bcpkix-jdk15on:$bouncyCastleVersion")

// Kotest
val kotestVersion = "5.0.3"
val kotestVersion = "5.4.2"
testImplementation("io.kotest:kotest-runner-junit5-jvm:$kotestVersion") // for kotest framework
testImplementation("io.kotest:kotest-assertions-core-jvm:$kotestVersion") // for kotest core jvm assertions
testImplementation("io.kotest:kotest-property-jvm:$kotestVersion") // for kotest property test

// Testing of equals / hashcode
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.8.2")
testImplementation("nl.jqno.equalsverifier:equalsverifier:3.10.1")

// MockWebServer
testImplementation("com.squareup.okhttp3:mockwebserver:4.9.3")
testImplementation("com.squareup.okhttp3:mockwebserver:4.10.0")

// JWS issuing
testImplementation("com.nimbusds:nimbus-jose-jwt:9.15.2")
testImplementation("com.nimbusds:nimbus-jose-jwt:9.25")

// Google Guava: Bytes.indexOf
testImplementation("com.google.guava:guava:31.0.1-jre")
testImplementation("com.google.guava:guava:31.1-jre")
}

dependencyLocking {
Expand Down
Loading

0 comments on commit bf201b5

Please sign in to comment.