Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
sbt-uglifier
Search
Okada Haruki
March 17, 2018
Technology
0
1.2k
sbt-uglifier
Lightning Talk @ ScalaMatsuri 2018 After party
Okada Haruki
March 17, 2018
Tweet
Share
More Decks by Okada Haruki
See All by Okada Haruki
HyperLogLog feature of ClickHouse
ocadaruma
0
1.4k
HyperLogLog is interesting
ocadaruma
3
830
A Redis compatible HLL implementation in Java
ocadaruma
0
320
Sparkが社内で流行ってきた話
ocadaruma
4
910
Other Decks in Technology
See All in Technology
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.8k
S3アクセス制御の設計ポイント
tommy0124
3
200
slog.Handlerのよくある実装ミス
sakiengineer
4
450
roppongirb_20250911
igaiga
1
240
普通のチームがスクラムを会得するたった一つの冴えたやり方 / the best way to scrum
okamototakuyasr2
0
110
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
Rustから学ぶ 非同期処理の仕組み
skanehira
1
150
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
20250913_JAWS_sysad_kobe
takuyay0ne
2
250
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
1
230
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
510
Evolución del razonamiento matemático de GPT-4.1 a GPT-5 - Data Aventura Summit 2025 & VSCode DevDays
lauchacarro
0
210
Featured
See All Featured
Bash Introduction
62gerente
615
210k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
BBQ
matthewcrist
89
9.8k
GraphQLとの向き合い方2022年版
quramy
49
14k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
113
20k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
What's in a price? How to price your products and services
michaelherold
246
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
RailsConf 2023
tenderlove
30
1.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
Transcript
sbt-ugli er Lightning Talk @ ScalaMatsuri 2018 After party
About Me Haruki Okada twitter/github: @ocadaruma Scala/Java developer
What is sbt-ugli er ? https://github.com/ocadaruma/sbt-ugli er ≠ sbt-uglify Ugli
es Scala sources
Use cases ?
How does it work ? Surround each Scala source with
package block Replace newline with whitespace/semicolon Concat all sources
Example Try to uglify scala-csv https://github.com/tototoshi/scala-csv addSbtPlugin("com.mayreh" % "sbt-uglifier" %
"1.0") $ sbt > uglify
Result
Result > test [info] All tests passed. [info] Passed: Total
60, Failed 0, Errors 0, Passed 60
Example Try to uglify nscala-time https://github.com/nscala-time/nscala-time $ sbt > uglify
> test [info] Failed: Total 21, Failed 0, Errors 18, Passed 3 Exception: java.lang.NoSuchMethodError: com.github.nscala_time. ...
Example Seems a bug of Scala https://github.com/scala/bug/issues/10783
Conclusion Let's write a joke plugin and report issues