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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Okada Haruki
March 17, 2018
Technology
1.3k
0
Share
sbt-uglifier
Lightning Talk @ ScalaMatsuri 2018 After party
Okada Haruki
March 17, 2018
More Decks by Okada Haruki
See All by Okada Haruki
HyperLogLog feature of ClickHouse
ocadaruma
0
1.5k
HyperLogLog is interesting
ocadaruma
3
890
A Redis compatible HLL implementation in Java
ocadaruma
0
350
Sparkが社内で流行ってきた話
ocadaruma
4
960
Other Decks in Technology
See All in Technology
ESP32 IoTを動かしながらメモリ使用量を観測してみた話
zozotech
PRO
0
110
Claude Code / Codex / Kiro に AWS 権限を 渡すとき、何を設計すべきか
k_adachi_01
4
1.1k
Oracle Cloud Infrastructure presents managed, serverless MCP Servers for Oracle AI Database
thatjeffsmith
0
230
The 7 pitfalls of AI
ufried
0
200
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8k
可視化から活用へ — Mesh化・Segmentation・アライメントの研究動向
gpuunite_official
0
160
10サービス以上のメール到達率改善を地道に継続的に進めている話 / Continue to improve email delivery rates across multiple services
yamaguchitk333
5
1.5k
Gaussian Splattingの実用化 - 映像制作への展開
gpuunite_official
0
150
Agent の「自由」と「安全」〜未来に向けて今できること〜
katayan
0
350
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
250
AI対話分析の夢と、汚いデータの現実 Looker / Dataplex / Dataform で実現する品質ファーストな基盤設計
waiwai2111
0
420
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.4k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
AI: The stuff that nobody shows you
jnunemaker
PRO
6
630
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
180
How to Think Like a Performance Engineer
csswizardry
28
2.6k
30 Presentation Tips
portentint
PRO
1
290
Faster Mobile Websites
deanohume
310
31k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
How to build a perfect <img>
jonoalderson
1
5.5k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
How STYLIGHT went responsive
nonsquared
100
6.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