Skip to content

Commit

Permalink
Update dependencies (#686)
Browse files Browse the repository at this point in the history
com.fasterxml.jackson:jackson-bom: 2.13.1 -> 2.13.2
com.linecorp.armeria:armeria-bom: 1.14.1 -> 1.15.0
io.micrometer:micrometer-bom: 1.8.2 -> 1.8.4
ch.qos.logback:logback-classic: 1.2.10 -> 1.2.11
com.github.node-gradle:gradle-node-plugin: 3.1.1 -> 3.2.1
com.google.guava: 31.0.1-jre -> 31.1-jre
com.puppycrawl.tools:checkstyle: 9.2.1 -> 10.1
net.javacrumbs.json-unit: 2.28.0 -> 2.32.0'
org.awaitility.awaitility: 4.1.1 -> 4.2.0
org.hibernate.validator:hibernate-validator: 6.1.6.Final -> 6.2.3.Final
org.mockito: 4.3.1 -> 4.4.0
org.slf4j: 1.7.35 -> 1.7.36
org.springframework.boot: 2.6.3 -> 2.6.5
  • Loading branch information
jrhee17 authored Mar 29, 2022
1 parent 404db70 commit d72070e
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 18 deletions.
47 changes: 46 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew --no-daemon --stacktrace -Pcoverage checkstyle check build
run: ./gradlew --no-daemon --stacktrace -Pcoverage -PnoLint build
shell: bash

- name: Cleanup Gradle Cache
Expand Down Expand Up @@ -80,3 +80,48 @@ jobs:
if: always()
run: jps | grep -vi "jps" | awk '{ print $1 }' | xargs -I'{}' jstack -l {} || true
shell: bash

lint:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
env:
GRADLE_OPTS: -Xmx1280m
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
java: [14]
steps:
- uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}

- name: Restore Gradle Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/wrapper/dists
~/.gradle/caches/jars-3
~/.gradle/caches/modules-2
~/.gradle/caches/package-lists
~/.gradle/caches/sphinx-binary
~/.gradle/go/binary
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew --no-daemon --stacktrace lint
shell: bash

- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties
shell: bash
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ allprojects {
}
}

// Require to use JDK 10 when releasing.
// Require to use JDK 13 when releasing.
tasks.release.doFirst {
if (JavaVersion.current() != JavaVersion.VERSION_13) {
throw new IllegalStateException("You must release using JDK 13.")
Expand Down
34 changes: 18 additions & 16 deletions dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
# If its classes are exposed in Javadoc, update offline links as well.
#
boms:
- com.fasterxml.jackson:jackson-bom:2.13.1
- com.linecorp.armeria:armeria-bom:1.14.1
- io.micrometer:micrometer-bom:1.8.2
- com.fasterxml.jackson:jackson-bom:2.13.2
- com.linecorp.armeria:armeria-bom:1.15.0
- io.micrometer:micrometer-bom:1.8.4
- org.junit:junit-bom:5.8.2

ch.qos.logback:
logback-classic:
version: '1.2.10'
version: '1.2.11'
javadocs:
- https://www.javadoc.io/doc/ch.qos.logback/logback-classic/1.2.10/
- https://www.javadoc.io/doc/ch.qos.logback/logback-classic/1.2.11/

com.beust:
# Please check `jcommander` version of Maven Central Repository before updating
Expand Down Expand Up @@ -50,6 +50,7 @@ com.fasterxml.jackson.core:

com.github.ben-manes.caffeine:
caffeine:
# requires jdk 11 for version 3.x.x upgrade
version: '2.9.1'
javadocs:
- https://www.javadoc.io/doc/com.github.ben-manes.caffeine/caffeine/2.9.1/
Expand All @@ -58,14 +59,14 @@ com.github.jengelman.gradle.plugins:
shadow: { version: '6.1.0' }

com.github.node-gradle:
gradle-node-plugin: { version: '3.1.1' }
gradle-node-plugin: { version: '3.2.1' }

com.google.code.findbugs:
jsr305: { version: '3.0.2' }

com.google.guava:
guava:
version: &GUAVA_VERSION '31.0.1-jre'
version: &GUAVA_VERSION '31.1-jre'
exclusions:
- com.google.errorprone:error_prone_annotations
- com.google.j2objc:j2objc-annotations
Expand Down Expand Up @@ -114,7 +115,7 @@ com.linecorp.armeria:
- https://www.javadoc.io/doc/com.linecorp.armeria/armeria-javadoc/1.14.1/

com.puppycrawl.tools:
checkstyle: { version: '9.2.1' }
checkstyle: { version: '10.1' }

com.spotify:
completable-futures:
Expand All @@ -132,10 +133,10 @@ gradle.plugin.net.davidecavestro:
io.micrometer:
micrometer-core:
javadocs:
- https://www.javadoc.io/doc/io.micrometer/micrometer-core/1.7.3/
- https://www.javadoc.io/doc/io.micrometer/micrometer-core/1.8.4/
micrometer-registry-prometheus:
javadocs:
- https://www.javadoc.io/doc/io.micrometer/micrometer-registry-prometheus/1.7.3/
- https://www.javadoc.io/doc/io.micrometer/micrometer-registry-prometheus/1.8.4/

javax.annotation:
javax.annotation-api: { version: '1.3.2' }
Expand Down Expand Up @@ -165,7 +166,7 @@ me.champeau.jmh:
jmh-gradle-plugin: { version: '0.6.6' }

net.javacrumbs.json-unit:
json-unit: { version: &JSON_UNIT_VERSION '2.28.0' }
json-unit: { version: &JSON_UNIT_VERSION '2.32.0' }
json-unit-fluent: { version: *JSON_UNIT_VERSION }

com.guardsquare:
Expand Down Expand Up @@ -206,7 +207,7 @@ org.assertj:
assertj-core: { version: '3.22.0' }

org.awaitility:
awaitility: { version: '4.1.1' }
awaitility: { version: '4.2.0' }

org.hamcrest:
hamcrest-library: { version: '2.2' }
Expand All @@ -219,13 +220,14 @@ org.eclipse.jgit:
org.eclipse.jgit.ssh.jsch: { version: *JGIT_VERSION }

org.hibernate.validator:
hibernate-validator: { version: '6.1.6.Final' }
# Need to wait for spring boot 3 before upgrading to 7.x.x
hibernate-validator: { version: '6.2.3.Final' }

org.javassist:
javassist: { version: '3.28.0-GA' }

org.mockito:
mockito-core: { version: &MOCKITO_VERSION '4.3.1' }
mockito-core: { version: &MOCKITO_VERSION '4.4.0' }
mockito-junit-jupiter: { version: *MOCKITO_VERSION }

org.mortbay.jetty.alpn:
Expand All @@ -236,7 +238,7 @@ org.openjdk.jmh:
jmh-generator-annprocess: { version: *JMH_VERSION }

org.slf4j:
jcl-over-slf4j: { version: &SLF4J_VERSION '1.7.35' }
jcl-over-slf4j: { version: &SLF4J_VERSION '1.7.36' }
jul-to-slf4j: { version: *SLF4J_VERSION }
log4j-over-slf4j: { version: *SLF4J_VERSION }
slf4j-api:
Expand All @@ -246,7 +248,7 @@ org.slf4j:

org.springframework.boot:
spring-boot-starter:
version: &SPRING_BOOT_VERSION '2.6.3'
version: &SPRING_BOOT_VERSION '2.6.5'
javadocs:
- https://docs.spring.io/spring/docs/current/javadoc-api/
spring-boot-starter-test: { version: *SPRING_BOOT_VERSION }
Expand Down

0 comments on commit d72070e

Please sign in to comment.