Skip to content

Commit b64b7ce

Browse files
committed
Merge branch 'master' into streaming
# Conflicts: # build.sbt # project/plugins.sbt
2 parents 8cce313 + bfe28f2 commit b64b7ce

File tree

6 files changed

+32
-61
lines changed

6 files changed

+32
-61
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,10 @@ jobs:
5252
- name: Get version
5353
id: get_tag_name
5454
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
55-
- name: Import GPG key
56-
env:
57-
#exported via `gpg -a --export-secret-keys <key> | cat -e | sed 's/\$/\\n/g' | xclip -selection clipboard` and added to org secrets
58-
SONATYPE_GPG: ${{ secrets.SONATYPE_GPG }}
59-
run: echo -e $SONATYPE_GPG | gpg --import -
6055
- name: Publish artifacts
6156
env:
62-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
57+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
58+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
6359
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
64-
run: sbt 'set ThisBuild/version := "${{ steps.get_tag_name.outputs.VERSION }}"' +publishSigned
65-
- name: Release Sonatype bundle
66-
#https://github.com/xerial/sbt-sonatype#publishing-your-artifact
67-
if: ${{ !endsWith(steps.get_tag_name.outputs.VERSION, 'SNAPSHOT') }}
68-
env:
6960
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
70-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
71-
run: sbt 'set ThisBuild/version := "${{ steps.get_tag_name.outputs.VERSION }}"' sonatypeBundleRelease
61+
run: sbt ci-release

.scala-steward.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ updates.ignore = [
44
updates.pin = [
55
{groupId = "ch.qos.logback", version = "1.3."},
66
]
7+
pullRequests.grouping = [
8+
{
9+
name = "jetty",
10+
title = "Update Jetty dependencies",
11+
filter = [{ group = "org.eclipse.jetty" }, { group = "org.eclipse.jetty*" }]
12+
}
13+
]

build.sbt

Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,18 @@ name := "udash"
1010
Global / excludeLintKeys ++= Set(ideOutputDirectory, ideSkipProject)
1111

1212
inThisBuild(Seq(
13-
version := "0.18.0-SNAPSHOT",
1413
organization := "io.udash",
1514
resolvers += Resolver.defaultLocal,
15+
homepage := Some(url("https://udash.io")),
16+
licenses := Seq(License.Apache2),
17+
scmInfo := Some(ScmInfo(
18+
browseUrl = url("https://github.com/UdashFramework/udash-core"),
19+
connection = "scm:git:[email protected]:UdashFramework/udash-core.git",
20+
devConnection = Some("scm:git:[email protected]:UdashFramework/udash-core.git"),
21+
)),
22+
developers := List(
23+
Developer("ddworak", "Dawid Dworak", "[email protected]", url("https://github.com/ddworak")),
24+
),
1625
))
1726

1827
val forIdeaImport = System.getProperty("idea.managed", "false").toBoolean && System.getProperty("idea.runid") == null
@@ -24,39 +33,6 @@ val browserCapabilities: Capabilities = {
2433
new FirefoxOptions().setHeadless(true).setLogLevel(FirefoxDriverLogLevel.WARN)
2534
}
2635

27-
// Deployment configuration
28-
val deploymentConfiguration = Seq(
29-
publishMavenStyle := true,
30-
Test / publishArtifact := false,
31-
pomIncludeRepository := { _ => false },
32-
33-
publishTo := sonatypePublishToBundle.value,
34-
35-
credentials in Global += Credentials(
36-
"Sonatype Nexus Repository Manager",
37-
"oss.sonatype.org",
38-
sys.env.getOrElse("SONATYPE_USERNAME", ""),
39-
sys.env.getOrElse("SONATYPE_PASSWORD", "")
40-
),
41-
42-
licenses := Seq(License.Apache2),
43-
44-
pomExtra := {
45-
<url>https://github.com/UdashFramework/udash-core</url>
46-
<scm>
47-
<url>git@github.com:UdashFramework/udash-core.git</url>
48-
<connection>scm:git@github.com:UdashFramework/udash-core.git</connection>
49-
</scm>
50-
<developers>
51-
<developer>
52-
<id>avsystem</id>
53-
<name>AVSystem</name>
54-
<url>http://www.avsystem.com/</url>
55-
</developer>
56-
</developers>
57-
}
58-
)
59-
6036
val commonSettings = Seq(
6137
scalaVersion := Dependencies.versionOfScala,
6238
crossScalaVersions := Seq(Dependencies.versionOfScala),
@@ -86,7 +62,8 @@ val commonSettings = Seq(
8662
Test / ideOutputDirectory := Some(target.value.getParentFile / "out/test"),
8763
libraryDependencies ++= Dependencies.compilerPlugins.value,
8864
libraryDependencies ++= Dependencies.commonTestDeps.value,
89-
) ++ deploymentConfiguration
65+
pomIncludeRepository := { _ => false },
66+
)
9067

9168
val commonJsSettings = commonSettings ++ Seq(
9269
Test / scalaJSStage := FastOptStage,

project/Dependencies.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ object Dependencies {
1414
val scalaCssVersion = "1.0.0"
1515

1616
val servletVersion = "4.0.1"
17-
val avsCommonsVersion = "2.21.0"
17+
val avsCommonsVersion = "2.22.0"
1818

1919
val atmosphereJSVersion = "3.1.3"
2020
val atmosphereVersion = "2.7.15"
2121

22-
val upickleVersion = "4.1.0" // Tests only
23-
val circeVersion = "0.14.10" // Tests only
22+
val upickleVersion = "4.2.1" // Tests only
23+
val circeVersion = "0.14.13" // Tests only
2424
val circeDerivationVersion = "0.13.0-M5" // Tests only
2525
val monixVersion = "3.4.1" // udash-rest only
2626

27-
val sttpVersion = "3.10.3"
27+
val sttpVersion = "3.11.0"
2828

2929
val scalaLoggingVersion = "3.9.5"
3030

31-
val jettyVersion = "12.0.16"
31+
val jettyVersion = "12.0.22"
3232
val typesafeConfigVersion = "1.4.3"
3333
val flexmarkVersion = "0.64.8"
3434
val logbackVersion = "1.3.15"
@@ -43,8 +43,8 @@ object Dependencies {
4343
val bootstrap4DatepickerVersion = "5.39.0"
4444
val momentJsVersion = "2.30.1"
4545

46-
val seleniumVersion = "4.29.0"
47-
val webDriverManagerVersion = "5.9.3"
46+
val seleniumVersion = "4.33.0"
47+
val webDriverManagerVersion = "6.1.0"
4848
val scalaJsBenchmarkVersion = "0.10.0"
4949

5050
val compilerPlugins = Def.setting(Seq(

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# suppress inspection "UnusedProperty"
2-
sbt.version=1.10.7
2+
sbt.version=1.11.2

project/plugins.sbt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ logLevel := Level.Warn
33
libraryDependencies += "org.scala-js" %% "scalajs-env-selenium" % "1.1.1"
44
libraryDependencies += "org.scala-js" %% "scalajs-env-jsdom-nodejs" % "1.1.0"
55

6-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.18.2")
6+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.19.0")
77
addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2")
88
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
99
addSbtPlugin("org.jetbrains.scala" % "sbt-ide-settings" % "1.1.2")
1010
addSbtPlugin("com.github.sbt" % "sbt-less" % "2.0.1")
1111
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.1")
12-
13-
// Deployment configuration
14-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
15-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")
12+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.1")
1613
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")

0 commit comments

Comments
 (0)