Skip to content
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

Use sbt-web 1.5.x despite staying on paradox 0.9.2 #1135

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

mkurz
Copy link
Contributor

@mkurz mkurz commented Feb 21, 2024

I am pretty sure this is safe since I am basically the on who maintains sbt-web and v1.5 is pretty much compatible with v1.4 API wise.
I use the same workaround in https://github.com/sbt/sbt-paradox-material-theme/blob/v0.7.0/project/plugins.sbt#L1-L3 actually

With this change I can +Test/compile pekko and I am not hitting https://repo.scala-sbt.org/ anymore (since I have blocked it on my machine).

@mdedetrich I am pretty sure this is ok to merge.

@mdedetrich
Copy link
Contributor

Running CI just to make sure but I am not expecting any surprises here

@mkurz
Copy link
Contributor Author

mkurz commented Feb 21, 2024

Oops sorry fixed formatting

@raboof raboof merged commit 28314e6 into apache:main Feb 21, 2024
18 checks passed
@pjfanning
Copy link
Contributor

apache/pekko-http#486 has an exclude on sbt-paradox 0.9.2 but this doesn't.

My preference is to try out the changes in https://github.com/apache/incubator-pekko-http and then when we are happy in that repo, we can copy the full set of changes to our other repos.

@mkurz mkurz deleted the sbt-web-1.5.x branch February 21, 2024 13:47
@mdedetrich
Copy link
Contributor

mdedetrich commented Feb 21, 2024

apache/incubator-pekko-http#486 has an exclude on sbt-paradox 0.9.2 but this doesn't.

This exclude is no longer necessary on the latest version of pekko-sbt-paradox because of this change apache/pekko-sbt-paradox#97. The exception here is if some other library brings in a later version of sbt-paradox/sbt-paradox-theme that overrides the 0.9.2 version which is not JDK 1.8 compatible.

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