$30 off During Our Annual Pro Sale. View Details »
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
850
A Redis compatible HLL implementation in Java
ocadaruma
0
330
Sparkが社内で流行ってきた話
ocadaruma
4
920
Other Decks in Technology
See All in Technology
Flutter Thread Merge - Flutter Tokyo #11
itsmedreamwalker
1
110
雲勉LT_Amazon Bedrock AgentCoreを知りAIエージェントに入門しよう!
ymae
2
230
プラットフォームエンジニアリングとは何であり、なぜプラットフォームエンジニアリングなのか
doublemarket
0
370
Pandocでmd→pptx便利すぎワロタwww
meow_noisy
2
1.1k
命名から始めるSpec Driven
kuruwic
3
680
Kill the Vibe?Architecture in the age of AI
stoth
1
120
Active Directory 勉強会 第 6 回目 Active Directory セキュリティについて学ぶ回
eurekaberry
12
4.1k
AIで加速する次世代のBill Oneアーキテクチャ〜成長の先にある軌道修正〜
sansantech
PRO
1
150
AWS re:Invent 2025 で頻出の 生成 AI サービスをおさらい
komakichi
3
260
履歴テーブル、今回はこう作りました 〜 Delegated Types編 〜 / How We Built Our History Table This Time — With Delegated Types
moznion
13
8k
オープンデータの内製化から分かったGISデータを巡る行政の課題
naokim84
1
400
確実に伝えるHealth通知 〜半自動システムでほどよく漏れなく / JAWS-UG 神戸 #9 神戸へようこそ!LT会
genda
0
160
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
697
190k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
118
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Designing for humans not robots
tammielis
254
26k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Typedesign – Prime Four
hannesfritz
42
2.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Designing for Performance
lara
610
69k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Facilitating Awesome Meetings
lara
57
6.6k
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