Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
schnapster committed Jul 14, 2024
1 parent 9dcf539 commit b9f76be
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 112 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0

- name: Gradle Wrapper Verification
uses: gradle/wrapper-validation-action@55e685c48d84285a5b0418cd094606e199cca3b6 # v1.0.5
uses: gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda # 3.4.2

- name: Setup JDK
uses: actions/setup-java@1df8dbefe2a8cbc99770194893dd902763bee34b # v3.9.0
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: "temurin"
java-version: 17
java-version: 21
cache: "gradle"

- name: Print JDK info
run: java -Xmx32m --version

- name: Gradle Build
uses: burrunan/gradle-cache-action@f9ec73cf67dd8ed9a057978212c988945b2f0405 # v1.15
uses: burrunan/gradle-cache-action@3dd7849bdce2a6479f40929dd4e7f20142727f6a # v1.18-wip
with:
arguments: build --info
22 changes: 11 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ plugins {
`java-library`
`maven-publish`
idea
id("com.github.ben-manes.versions") version "0.50.0"
id("org.ajoberstar.grgit") version "5.2.1"
id("com.github.ben-manes.versions") version "0.51.0"
id("org.ajoberstar.grgit") version "5.2.2"
}

group = "space.npstr.prometheus_extensions"
Expand All @@ -12,7 +12,7 @@ println("Version: ${project.version}")

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(21))
vendor.set(JvmVendorSpec.ADOPTIUM)
}
withSourcesJar()
Expand All @@ -32,17 +32,17 @@ repositories {
// maven { url = uri("https://repo.spring.io/milestone") } // D4J snapshots
}

val prometheusVersion = "1.1.0"
val dsProxyVersion = "1.9"
val jdaVersion = "5.0.0-beta.18"
val prometheusVersion = "1.3.1"
val dsProxyVersion = "1.10"
val jdaVersion = "5.0.0"
val troveVersion = "3.0.3"
val fastutilVersion = "8.5.12"
val fastutilVersion = "8.5.13"
// see https://oss.sonatype.org/content/repositories/snapshots/com/discord4j/discord4j-core/
val d4jCoreVersion = "3.2.6"
val jUnitPlatformVersion = "1.10.1"
val jUnitVersion = "5.10.1"
val mockitoVersion = "5.8.0"
val assertJVersion = "3.24.2"
val jUnitPlatformVersion = "1.10.3"
val jUnitVersion = "5.10.3"
val mockitoVersion = "5.12.0"
val assertJVersion = "3.26.3"

dependencies {
api("io.prometheus:prometheus-metrics-core:$prometheusVersion")
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=c16d517b50dd28b3f5838f0e844b7520b8f1eb610f2f29de7e4e04a1b7c9c79b
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
distributionSha256Sum=258e722ec21e955201e31447b0aed14201765a3bfbae296a46cf60b70e66db70
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 5 additions & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
92 changes: 0 additions & 92 deletions gradlew.bat

This file was deleted.

0 comments on commit b9f76be

Please sign in to comment.