Skip to content

Commit

Permalink
Update coursier-jvm_2.13, ... to 2.1.21 (#3363)
Browse files Browse the repository at this point in the history
* Update coursier-jvm_2.13, ... to 2.1.21

* Bump `coursier` to 2.1.21 in less obvious places

---------

Co-authored-by: Piotr Chabelski <[email protected]>
  • Loading branch information
scala-steward and Gedochao authored Dec 12, 2024
1 parent a71090f commit e464943
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/build-linux-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/get-latest-cs.sh
Original file line number Diff line number Diff line change
@@ -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")"

Expand Down
2 changes: 1 addition & 1 deletion build.sc
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
2 changes: 1 addition & 1 deletion mill
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion project/deps.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e464943

Please sign in to comment.