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

Support subproject builds in their root folder #59

Open
ruippeixotog opened this issue Jun 20, 2021 · 1 comment
Open

Support subproject builds in their root folder #59

ruippeixotog opened this issue Jun 20, 2021 · 1 comment

Comments

@ruippeixotog
Copy link

I'm exploring making PureConfig to use this plugin as we'd like to have more flexibility on cross-compiling. In this project we have the build of each subproject split between two build.sbt files - on the root build.sbt we specify plugins, subproject dependencies and settings common to all subprojects, while we have a per-subproject build.sbt on their root folder with settings specific to that project.

This setup doesn't seem to work with sbt-projectmatrix. The per-subproject build.sbt is not read, which I suppose happens because the base directory for the generated subprojects is not the same as before.

@ruippeixotog
Copy link
Author

@eed3si9n do you have any workaround for this that doesn't involve moving everything to the same build.sbt file? It looks like addSbtFiles was removed in SBT 1.x and I see in sbt/sbt#2514 that it was a problem before.

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

No branches or pull requests

1 participant