-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to use your libraries from my SBT build? #9
Comments
Most of my effort so far has gone into developing these libraries rather than promoting them for public consumption, but both are ongoing work. As such, I've been developing them alongside a new build tool, Irk, which is usable but incomplete, undocumented and essentially not yet published. So this is the current state of things, which I expect to improve in time. I plan to start publishing the libraries, though. I've had a few trial runs at this already, and the most difficult steps are in place already. There are enough different libraries with dependencies between them that the only feasible way to do this is by automation. I've created issues #10 and #11 to track the two main tasks I need to complete to get this working. If you're planning to use them with SBT, I should first check that you're aware that they all require Scala 3 and are unlikely to work with Scala 2. Assuming that's fine, and you don't mind the generally experimental state of everything, you could do one of the following: 1. Copy the sources into your own projectThis might be an acceptable solution, depending on the nature of your project. Most of the libraries have at least some dependencies. The best way to do this may be to recursively copy all of one project's sources into yours, then if you see a 2. Run the Irk buildEach project should include a file called 3. Use Irk to build a JARIf you prefer to use SBT (which is fair enough), then you could have Irk build a fat JAR containing whatever you need. If this is the case, let me know and I'll provide some instructions on this. Obviously, none of this is ideal yet, but this is very much a work-in-progress. |
In my limited time tonight I copied the files into my project but IntelliJ doesn't like it, lots of red, otherwise its good Scala 3 code to look at.... |
You will probably need to configure the experimental |
I've started publishing the libraries to Maven Central. The first is Kaleidoscope (and its dependencies), and I'll keep publishing them every week for the next few months. |
Hi, I'm lazy, how to use your libraries?
The text was updated successfully, but these errors were encountered: