-
Notifications
You must be signed in to change notification settings - Fork 17
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
Futz with the build #409
Futz with the build #409
Conversation
ThisBuild / homepage := Some(url("https://github.com/TimWSpence/cats-stm")) | ||
|
||
ThisBuild / scmInfo := Some( | ||
ScmInfo(url("https://github.com/TimWSpence/cats-stm"), "git@github.com:TimWSpence/cats-stm.git") | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is set automatically. Actually with more info then you've set here I believe 😆
.settings( | ||
javacOptions ++= Seq("-source", "1.8", "-target", "1.8") | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't have java code in your project do you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw this will also be set automatically in a future release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woops, you do have Java.
ThisBuild / scmInfo := Some( | ||
ScmInfo(url("https://github.com/TimWSpence/cats-stm"), "git@github.com:TimWSpence/cats-stm.git") | ||
) | ||
ThisBuild / tlJdkRelease := Some(8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There you go :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this set the javac target option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, actually no :) it sets the --release
flag which has superseded that, but anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even better, thanks!
Sorry @armanbilge, just saw this! I thought I had approved it to run the build but it doesn't seem to have done it... |
@@ -34,6 +29,7 @@ lazy val `cats-stm` = tlCrossRootProject | |||
core, | |||
benchmarks, | |||
docs, | |||
unidoc, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is going on with this diff? That is already aggregated on main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol, I opened this PR before you did that, and it doesn't detect the merge conflict.
Anyway, nothing critical in here, just some things I noticed while looking at your build. Also you'll still need to apply add the settings from typelevel/sbt-typelevel#214 (comment) to fix your publishing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha yeah, it's on my TODO list. Thanks!
Thanks so much @armanbilge! :) |
No description provided.