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

chore/build/refactor-to-projectmatrix-and-upgrade-all-dependencies #1466

Open
wants to merge 16 commits into
base: series/4.x
Choose a base branch
from

Conversation

ThijsBroersen
Copy link

@ThijsBroersen ThijsBroersen commented Oct 6, 2024

PR to update about all...
Build has been migrated to sbt-projectmatrix because the existing build had quite some issues and did target all platforms and versions correctly.

I also noticed some gaps. Like annotations not implemented for Scala 3.

I updated also the JDK version to 17 setting the jvm release target to 11 (same behaviour as the core zio project).
Perhaps I am mistaken. Multiple JDK versions are used but for releasing artifacts JDK 11 targeting 11, correct? Is there any logic here? To my knowledge building with any recent JDK, targetting an earlier JDK version with the '-release' flag should be sufficient right?

@ThijsBroersen ThijsBroersen requested a review from a team as a code owner October 6, 2024 13:43
@ThijsBroersen ThijsBroersen force-pushed the chore/build/refactor-to-projectmatrix-and-bump-all branch 2 times, most recently from f6b944c to b5c4abc Compare October 6, 2024 17:30
@ThijsBroersen
Copy link
Author

I reverted the zio-sbt-website version. As the new version added a +publishLocal step which causes an issue when using projectmatrix. It needs to be without the +, I did not know how to override it.
For now it targets only Scala 2.13. I think this is also what main did as 2.13 was the default scalaVersion.

@@ -42,7 +42,7 @@ object AutomaticConfig extends App {
"aws.credentials.Token.value" -> "token",
"port" -> "10",
"default" -> "12",
"dburl" -> "some url",
"dburl.value" -> "some url",
Copy link
Author

Choose a reason for hiding this comment

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

There is some inconsistency on the usage of value-classes. Sometimes AnyVal is extended, sometimes not. In some tests it expects the path to have the nested path, but in this code it did not.
I think also some apps were not working in in the main branch. This change for now makes it work.

@ThijsBroersen ThijsBroersen force-pushed the chore/build/refactor-to-projectmatrix-and-bump-all branch from e1a3919 to 9b11812 Compare October 9, 2024 11:48
@ThijsBroersen ThijsBroersen force-pushed the chore/build/refactor-to-projectmatrix-and-bump-all branch from 9b11812 to dc0f710 Compare October 9, 2024 11:51
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.

1 participant