-
Notifications
You must be signed in to change notification settings - Fork 227
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
Giter8 template not working on non-default sbt version #325
Comments
Thanks for the report! This is happening because Giter8's plugin directly depends on Scripted. |
foundweekends/giter8.g8 has updated the sbt version. Failing to accept the default sbt_version still gives the binary incompatibility error. Accepting the defaults (giter8_version 0.9.0, sbt_version 0.13.16) and running SBT in the resulting template project gives:
This is a warning, and I haven't encountered any actual issues with this yet, but I'm just getting started. |
I am facing the same issue, I have tried to change sbt version to 0.13 but still getting the error. Is there a way to fix it? |
When you run
g8 foundweekends/giter8.g8
it gives you the option to set the sbt_version. The default version number is 0.13.16-M1 (which seems questionable to me since it's a pre-release). When you runsbt
on the top-level project generated by the g8 command, it works just fine. When you change the version of sbt to something else (the two I tested were 0.13.15 and 0.13.13) during the configuration step in theg8
command and then try to runsbt
again, there is an incompatible plugins exception:If you go to the template within the project and run
sbt
, it works just fine.If you change the
build.properties
file in /path_to/testing/project to be 0.13.16-M1, but leave the one in the template as whatever you want (ex. 0.13.15), it works just fine. To me, it means that either the configuration process when runningg8
is mistakenly also changing the version of sbt being used in the project or you have a dependency (the plexus-utils one presumably) that is tied to a particular version of sbt as opposed to changing depending on what's asked for in the configuration process.The text was updated successfully, but these errors were encountered: