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
Maven+you
Search
@hotchemi
October 21, 2014
Programming
2
360
Maven+you
potatotips #10
@hotchemi
October 21, 2014
Tweet
Share
More Decks by @hotchemi
See All by @hotchemi
kompile-testing internal
hotchemi
0
230
The things we’ve learned from iOS×React Native hybrid development
hotchemi
2
5k
React Nativeを活用したアプリ開発体制/sapuri meetup
hotchemi
3
7.7k
Type-Safe i18n on RN
hotchemi
2
1.1k
Navigation in a hybrid app
hotchemi
3
1.2k
PermissionsDispatcher × Kotlin
hotchemi
0
2.7k
kotlin compiler plugin
hotchemi
1
660
Rx and Preferences
hotchemi
2
140
Introducing PermissionsDispatcher
hotchemi
1
130
Other Decks in Programming
See All in Programming
Vue3の一歩踏み込んだパフォーマンスチューニング2024
hal_spidernight
3
1.5k
MLOps in Mercari Group’s Trust and Safety ML Team
cjhj
1
130
Debugging: A Few Things You Should Know
jmatsu
1
130
4年間変わらなかった YOUTRUSTのアーキテクチャ
daiki1003
2
680
The future of development – Are our jobs getting harder or easier?
hollycummins
1
190
Vue :: Better Testing 2024
up1
1
420
いかにして不足・不整合なくデータ移行したか
tjmtmmnk
1
850
フロントエンドの現在地とこれから
koba04
10
4.7k
Hi, have you met Kotlin Multiplatform? | DevFest Vienna 2024
prof18
0
220
Cloud Adoption Framework にみる組織とクラウド導入戦略
tomokusaba
2
680
perl for shell, awk and sed programmers
mackee
2
990
DevFest Android in Korea 2024 - 안드로이드의 문단속 : 앱을 지키는 암호화 이야기
mdb1217
1
180
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
43
5.9k
How to Think Like a Performance Engineer
csswizardry
18
1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
59k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
31
1.7k
A designer walks into a library…
pauljervisheath
202
24k
GitHub's CSS Performance
jonrohan
1030
450k
Scaling GitHub
holman
458
140k
Learning to Love Humans: Emotional Interface Design
aarron
272
40k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Why Our Code Smells
bkeepers
PRO
334
57k
Transcript
Maven + You @hotchemi The world you don’t know #potatotips
10
• Android Developer • Recruit Technologies Co.,Ltd. • GitHub: hotchemi
I’m hotchemi…
Android Build System…
• Ant • Gradle • Buck • Maven Too many!
• Very poor module system • Very slow • Official
build system from google (past) Ant
• Beta official build system • Build variants • Support
multiple module • Very very slow… Gradle
• Created by facebook • Very fast! • Solves 64k
problem? Buck
• Unofficial build system • Support multiple module • Not
so slow… Maven
Gradle is official, but someone uses maven…
None
None
None
None
1. How to build with maven?
• Unofficial but active! • Android studio support • Provides
apklib format • Support aar! • Support multiple module • https://github.com/jayway/maven-android-plugin maven-android-plugin
None
What is apklib?
None
Build variants?
• Use profile and resourceOverlayDirectories options • Source code may
be can • You can create build variants as many as you like Ofcourse!
2. Release library
• Automate release and prepare for next version • Very
very useful! • Support jenkins plugin • http://maven.apache.org/maven-release/maven-release-plugin/ Maven release plugin
None
None
None
3. How to create plugin?
• Maven architecture is pluggable • You can release to
maven central • e.x) https://github.com/hotchemi/deploygate-maven-plugin It’s very easy!
None
• Maven is not so bad!! • May be faster
than gradle • Maven-release-plugin is very useful! • Create your own maven plugin! Summary
Thank you for your time!