Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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.1k
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.2k
HyperLogLog is interesting
ocadaruma
3
730
A Redis compatible HLL implementation in Java
ocadaruma
0
280
Sparkが社内で流行ってきた話
ocadaruma
4
850
Other Decks in Technology
See All in Technology
データカタログを自作したけど 運用しなかった話@Findy Lunch LT「データカタログ 事例から学ぶメタデータ管理の実態」
ryo_suzuki
2
650
MediaPipe と ML Kit ってどう ちがうの? / What is the difference between MediaPipe and ML Kit?
yanzm
0
450
B11-SharePoint サイトのストレージ管理を考えよう
maekawa123
0
130
asumikamというカンファレンスオーガナイザの凄さを語る / The Brilliance of Asumikam
tomzoh
1
290
Amazon ECSとCloud Runの相互理解で広げるクラウドネイティブの景色 / Mutually understanding Amazon ECS and Cloud Run
iselegant
19
2.4k
GDGoC開発体験談 - Gemini生成AI活用ハッカソン / GASとFirebaseで挑むパン屋のフードロス解決 -
hotekagi
1
670
12/2(月)のBedrockアプデ速報(re:Invent 2024 Daily re:Cap #1 with AWS Heroes)
minorun365
PRO
2
300
Explain EXPLAIN
keiko713
9
2.4k
店舗向けSaaSにおける 顧客要望活用の実践アプローチ(20241205_pmconf)
yujirooo
0
2.5k
pmconf2024_UPSIDER
upsider_tech
0
6k
【CNDW2024】SIerで200人クラウドネイティブのファンを増やした話
yuta1979
1
330
Kubernetesを知る
logica0419
17
4.7k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
67
4.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
KATA
mclloyd
29
14k
Making Projects Easy
brettharned
116
5.9k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Gamification - CAS2011
davidbonilla
80
5.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
The Invisible Side of Design
smashingmag
298
50k
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