From e464943f0118874e8865a587270a840b5da07b38 Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:57:48 +0100 Subject: [PATCH] Update coursier-jvm_2.13, ... to 2.1.21 (#3363) * Update coursier-jvm_2.13, ... to 2.1.21 * Bump `coursier` to 2.1.21 in less obvious places --------- Co-authored-by: Piotr Chabelski --- .github/scripts/build-linux-aarch64.sh | 2 +- .github/scripts/get-latest-cs.sh | 2 +- build.sc | 2 +- mill | 2 +- .../test/scala/scala/cli/integration/RunTestDefinitions.scala | 2 +- project/deps.sc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/scripts/build-linux-aarch64.sh b/.github/scripts/build-linux-aarch64.sh index 325c8b8083..d961a2add2 100755 --- a/.github/scripts/build-linux-aarch64.sh +++ b/.github/scripts/build-linux-aarch64.sh @@ -6,7 +6,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" mkdir -p artifacts mkdir -p utils -cp "$(cs get https://github.com/VirtusLab/coursier-m1/releases/download/v2.1.20/cs-aarch64-pc-linux.gz --archive)" utils/cs +cp "$(cs get https://github.com/VirtusLab/coursier-m1/releases/download/v2.1.21/cs-aarch64-pc-linux.gz --archive)" utils/cs chmod +x utils/cs cp "$DIR/build-linux-aarch64-from-docker.sh" utils/ diff --git a/.github/scripts/get-latest-cs.sh b/.github/scripts/get-latest-cs.sh index fba13f302d..7056bba00a 100644 --- a/.github/scripts/get-latest-cs.sh +++ b/.github/scripts/get-latest-cs.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -CS_VERSION="2.1.20" +CS_VERSION="2.1.21" DIR="$(cs get --archive "https://github.com/coursier/coursier/releases/download/v$CS_VERSION/cs-x86_64-pc-win32.zip")" diff --git a/build.sc b/build.sc index 513963e291..598f0e83b8 100644 --- a/build.sc +++ b/build.sc @@ -1,5 +1,5 @@ import $ivy.`com.lihaoyi::mill-contrib-bloop:$MILL_VERSION` -import $ivy.`io.get-coursier::coursier-launcher:2.1.20` +import $ivy.`io.get-coursier::coursier-launcher:2.1.21` import $ivy.`io.github.alexarchambault.mill::mill-native-image-upload:0.1.29` import $file.project.deps, deps.{Deps, Docker, InternalDeps, Java, Scala, TestDeps} import $file.project.publish, publish.{ghOrg, ghName, ScalaCliPublishModule, organization} diff --git a/mill b/mill index 2fc2f4ccf5..f4581955eb 100755 --- a/mill +++ b/mill @@ -2,7 +2,7 @@ # Adapted from -coursier_version="2.1.20" +coursier_version="2.1.21" # https://stackoverflow.com/questions/3466166/how-to-check-if-running-in-cygwin-mac-or-linux/17072017#17072017 if [ "$(expr substr $(uname -s) 1 5 2>/dev/null)" == "Linux" ]; then diff --git a/modules/integration/src/test/scala/scala/cli/integration/RunTestDefinitions.scala b/modules/integration/src/test/scala/scala/cli/integration/RunTestDefinitions.scala index 21d5be9a24..0edf1370db 100644 --- a/modules/integration/src/test/scala/scala/cli/integration/RunTestDefinitions.scala +++ b/modules/integration/src/test/scala/scala/cli/integration/RunTestDefinitions.scala @@ -2289,7 +2289,7 @@ abstract class RunTestDefinitions val input = "example.scala" TestInputs( os.rel / input -> - s"""//> using dep io.get-coursier:coursier_2.13:2.1.20 + s"""//> using dep io.get-coursier:coursier_2.13:2.1.21 |@main def $main1() = println("$main1") |@main def $main2() = println("$main2") |""".stripMargin diff --git a/project/deps.sc b/project/deps.sc index f66561e245..317b7a37f6 100644 --- a/project/deps.sc +++ b/project/deps.sc @@ -105,7 +105,7 @@ object Deps { def ammoniteForScala3Lts = ammonite def argonautShapeless = "1.3.1" // jni-utils version may need to be sync-ed when bumping the coursier version - def coursierDefault = "2.1.20" + def coursierDefault = "2.1.21" def coursier = coursierDefault def coursierCli = coursierDefault def coursierM1Cli = coursierDefault