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

POC: support sbt 2 #239

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

POC: support sbt 2 #239

wants to merge 3 commits into from

Conversation

kubukoz
Copy link
Member

@kubukoz kubukoz commented Oct 5, 2024

No description provided.

@kubukoz
Copy link
Member Author

kubukoz commented Oct 5, 2024

sbt '+3; sbt-tpolecat-plugin/compile hits a compiler crash: https://gist.github.com/kubukoz/900ebaee4eeb07a793b71be3cb13b903

[error] ## Exception when compiling 2 sources to /Users/kubukoz/projects/sbt-tpolecat/plugin/target/scala-3.3.4/sbt-2.0.0-M2/classes
[error] dotty.tools.dotc.core.TypeError$$anon$1: Toplevel definition overrideConfigs is defined in
[error]   /Users/kubukoz/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/main_3/2.0.0-M2/main_3-2.0.0-M2.jar(sbt/BuildCommon.class)
[error] and also in
[error]   /Users/kubukoz/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/main_3/2.0.0-M2/main_3-2.0.0-M2.jar(sbt/ProjectExtra.class)
[error] One of these files should be removed from the classpath.

@kubukoz
Copy link
Member Author

kubukoz commented Oct 5, 2024

also, help welcome on making the CI build actually do the cross-version thing. I'm not sure how to handle the situation with a varying set of Scala versions (the scalafix project probably doesn't need 2.x yet)

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