Managing micro libraries with Scala CLI
summary
Scala CLI compiles, packages, signs and publishes tiny Scala libraries end-to-end: demo builds an LS utility, uses Metals and coursier, creates a PGP key (BouncyCastle), and publishes a snapshot and release to Maven Central both locally and from GitHub Actions CI. It cross-compiles to JVM, JS and produces a Scala Native binary, writes packaging metadata automatically, and accepts project-wide using directives project-wide so shared dependencies work across files; the demo finishes with artifacts successfully published.
AI-written summary · about
chapters (24)
- 0:00Intro
- 1:43Overview
- 2:17Who am I
- 3:48Why Scala CLI
- 8:23Who is behind Scala CLI
- 9:22Timeline of Scala CLI
- 15:21Demo
- 18:31Dependencies
- 26:01Push locally
- 26:16Add organization
- 27:01Run as launch
- 28:01Publish setup
- 29:01Configuration
- 30:01Ubuntu Castle
- 31:01Publish credentials
- 32:01Secrets
- 34:01Push to GitHub
- 36:01Snapshots
- 37:01git tags
- 39:01GitHub token
- 40:01Add workflow
- 41:01Check results
- 42:01Publish next version
- 45:01Q A
related talks
34mComplex Problems, Simple (build)tool
55mThe Last 10 Percent
49mHow to Get Started with Scala?
48mMassively Parallel Distributed Scala Compilation And You
39mReproducible environments for Scala using coursier
47mEasy Scala Builds with the Mill Build Tool
32mBetter Scala builds with the Mill build tool
49mTen Cool Things You Can Do With Scala 3
