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
370
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
5.1k
React Nativeを活用したアプリ開発体制/sapuri meetup
hotchemi
3
7.8k
Type-Safe i18n on RN
hotchemi
2
1.1k
Navigation in a hybrid app
hotchemi
3
1.2k
PermissionsDispatcher × Kotlin
hotchemi
0
2.9k
kotlin compiler plugin
hotchemi
1
700
Rx and Preferences
hotchemi
2
140
Introducing PermissionsDispatcher
hotchemi
1
140
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.1k
楽しく向き合う例外対応
okutsu
0
110
時計仕掛けのCompose
mkeeda
1
300
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
250
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
GAEログのコスト削減
mot_techtalk
0
120
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2.2k
仕様変更に耐えるための"今の"DRY原則を考える / Rethinking the "Don't repeat yourself" for resilience to specification changes
mkmk884
0
160
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.4k
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
210
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
110
Unity Android XR入門
sakutama_11
0
160
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
693
190k
Speed Design
sergeychernyshev
27
790
How GitHub (no longer) Works
holman
314
140k
Typedesign – Prime Four
hannesfritz
40
2.5k
Git: the NoSQL Database
bkeepers
PRO
427
64k
A better future with KSS
kneath
238
17k
Gamification - CAS2011
davidbonilla
80
5.1k
A Philosophy of Restraint
colly
203
16k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
Automating Front-end Workflow
addyosmani
1368
200k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Documentation Writing (for coders)
carmenintech
67
4.6k
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!