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.8k
kotlin compiler plugin
hotchemi
1
670
Rx and Preferences
hotchemi
2
140
Introducing PermissionsDispatcher
hotchemi
1
130
Other Decks in Programming
See All in Programming
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Click-free releases & the making of a CLI app
oheyadam
2
120
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
Ethereum_.pdf
nekomatu
0
470
CSC509 Lecture 09
javiergs
PRO
0
140
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
990
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
React への依存を最小にするフロントエンド設計
takonda
3
530
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
Better Code Design in PHP
afilina
PRO
0
130
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Being A Developer After 40
akosma
87
590k
Why Our Code Smells
bkeepers
PRO
334
57k
Building Adaptive Systems
keathley
38
2.3k
Become a Pro
speakerdeck
PRO
25
5k
The Cult of Friendly URLs
andyhume
78
6k
The Language of Interfaces
destraynor
154
24k
Gamification - CAS2011
davidbonilla
80
5k
A Tale of Four Properties
chriscoyier
156
23k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
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!