Skip to content

Commit

Permalink
Merge pull request #46 from guardian/mc/upgrade-brotli4j
Browse files Browse the repository at this point in the history
Upgrade brotli4j
  • Loading branch information
mchv authored Jan 15, 2025
2 parents d3d97fb + 61d2ac5 commit 72aa341
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 14 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ jobs:
distribution: 'adopt'
java-version: ${{ matrix.java }}
cache: 'sbt'

- name: Setup SBT
if: matrix.os == 'macos-14' || matrix.os == 'macos-latest'
uses: sbt/setup-sbt@v1

- name: Set local hostname
if: runner.os == 'macOS'
run: |
brew install sbt
sudo scutil --set HostName $(scutil --get LocalHostName)
- name: Build
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/sbt-dependency-graph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ on:
push:
branches:
- main
- sbt-dependency-graph-da246ccca8770ea4
workflow_dispatch:
jobs:
dependency-graph:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
id: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@v4
- name: Submit dependencies
id: submit
uses: scalacenter/sbt-dependency-submission@7ebd561e5280336d3d5b445a59013810ff79325e # v3.0.1
uses: scalacenter/sbt-dependency-submission@v3
- name: Log snapshot for user validation
id: validate
run: cat ${{ steps.submit.outputs.snapshot-json-path }} | jq
Expand Down
12 changes: 6 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ lazy val sharedSettings = Seq(
publishConfiguration := publishConfiguration.value.withOverwrite(true)
)

val Brotli4jVersion = "1.17.0"
val Brotli4jVersion = "1.18.0"
lazy val common = project
.settings(
name:="brotli4s",
Expand Down Expand Up @@ -146,9 +146,9 @@ lazy val `play-v29` = project
description := "A brotli filter module for Play 2.9",
crossScalaVersions := Seq(Scala213, Scala3),
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play" % "2.9.5" % Provided,
"com.typesafe.play" %% "play" % "2.9.6" % Provided,
"com.typesafe.play" %% "filters-helpers" % "2.9.0-M6" % Test,
"com.typesafe.play" %% "play-specs2" % "2.9.5" % Test,
"com.typesafe.play" %% "play-specs2" % "2.9.6" % Test,
),

artifactPomMetadataSettings
Expand All @@ -162,9 +162,9 @@ lazy val `play-v29` = project
description := "A brotli filter module for Play 3",
crossScalaVersions := Seq(Scala213, Scala3),
libraryDependencies ++= Seq(
"org.playframework" %% "play" % "3.0.5" % Provided,
"org.playframework" %% "play-filters-helpers" % "3.0.5" % Test,
"org.playframework" %% "play-specs2" % "3.0.5" % Test,
"org.playframework" %% "play" % "3.0.6" % Provided,
"org.playframework" %% "play-filters-helpers" % "3.0.6" % Test,
"org.playframework" %% "play-specs2" % "3.0.6" % Test,
),

artifactPomMetadataSettings
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed common/lib/native-windows-aarch64-1.17.0.jar
Binary file not shown.
Binary file added common/lib/native-windows-aarch64-1.18.0.jar
Binary file not shown.
Binary file removed common/lib/native-windows-x86_64-1.17.0.jar
Binary file not shown.
Binary file added common/lib/native-windows-x86_64-1.18.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.4
sbt.version=1.10.7
2 changes: 1 addition & 1 deletion scripts/update-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cd ../common/lib/

version='1.17.0'
version='1.18.0'

for platform in 'native-osx-aarch64' \
'native-osx-x86_64' \
Expand Down

0 comments on commit 72aa341

Please sign in to comment.