Skip to content

build: Modernize, use sbt-ci-release for releases #822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2025

Conversation

johanandren
Copy link
Collaborator

Drops all the ancient formatting/findbugs/test coverage stuff and bumps sbt to latest. Adds an initial publish/release CI job that may need further iterations (or we are lucky and just need to add credentials to the repo)

@mkurz
Copy link

mkurz commented Jul 4, 2025

I am pretty sure you need to remove these lines as well

config/build.sbt

Lines 28 to 32 in 41c5b72

ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if ((ThisBuild / isSnapshot).value) Option("Sonatype OSS Snapshots" at nexus + "content/repositories/snapshots")
else Option("Sonatype OSS Staging" at nexus + "service/local/staging/deploy/maven2")
}

@mkurz
Copy link

mkurz commented Jul 4, 2025

Not sure if this is needed as well:

ThisBuild / publishMavenStyle := true

If publishing isn't working I would try removing this line first.

Copy link
Contributor

@sebastian-alfers sebastian-alfers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JustinPihony JustinPihony merged commit ed6e1c1 into lightbend:main Jul 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants