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
Android 组件实践
Search
icyleaf
September 29, 2016
Technology
0
52
Android 组件实践
搭建、开发、发布 Android 组件到私有仓库全记录
icyleaf
September 29, 2016
Tweet
Share
More Decks by icyleaf
See All by icyleaf
我想学 Ruby 系列课程之开篇
icyleaf
0
110
论 Mobile App (iOS/Android)自动化构建是如何炼成的
icyleaf
0
190
使用 Kohana 轻便快速开发
icyleaf
0
110
贡嘎转山之驴行的意义
icyleaf
0
130
Install Snow Leopard on PC (Hashintosh)
icyleaf
0
150
Git 入门实战
icyleaf
8
750
Other Decks in Technology
See All in Technology
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
260
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
1
230
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
540
Snowflake女子会#3 Snowpipeの良さを5分で語るよ
lana2548
0
220
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
180
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1k
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.2k
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
270
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
210
なぜCodeceptJSを選んだか
goataka
0
150
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Building Applications with DynamoDB
mza
91
6.1k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
KATA
mclloyd
29
14k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
A better future with KSS
kneath
238
17k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Transcript
Android ᕟկਫ᪢ ൫ୌ̵ݎ̵ݎᐺํՙପقᦕ୯
ىԭ౯ ሴ冁 http://github.com/icyleaf
• ԅՋԍᥝᕟկ۸ • ٵ॓ሾह • ݎᕟկጱᳯ᷌ • ই֜۱ᕟկ • ړݎکᐺํՙପ
• ᶱፓفᐺํᕟկ
ԅՋԍᥝᕟկ۸
ԅՋԍᥝᕟկ۸
• ी୩॔አګ • ٺᶱፓጱᘠݳ • ฃԭړՁ • ṛྯӻՈጱݎපሲᩒრᳯ᷌
ᕟ件化 吧Ḿ年
ٵ॓ሾह Android Studio ੪ड़ ԧ҅ڦঘᏥ౯፡ԡ
ࣗӞ ࣗᇂޫѺѺAndroid Studio ݝඪ೮ڠୌᶱፓѺ ෫ѺဩѺፗѺളѺڠѺୌѺᕟѺկѺ
ྋᏟڠୌᕟկጱ۠ 1. ڠୌӞӻֺᶱፓҁྲই XXXXSample҂ 2. ٚྌचᏐӤڠୌӞӻ Android Library 3. දݷֺᶱፓጱ
app ፓ୯ԅ sample
֢ۖړᥴ
STEP 1 ڠୌֺᶱፓ
STEP 2 ڠୌ Android Library
STEP 3 දݷ app
ࣗԫ ᕟկ឴ݐ᧣አ App ጱמ௳ݢᚆฎӧྋᏟጱѺ
Ԉӻ່ৼ • ྲইֵአ BuildConfig ឴ݐ App ጱ packagename/versionName/versionCode
BuildConfig ጱওአ • Android Stuido ᇿํጱᔄ • ݢզ build.gradle ឴ݐचמ௳
• ԞݢզᛔਧԎᯈᗝמ௳
None
None
۱ԏڹ౯మض᧔᧔ړݎ
ړݎ • لՙପ • Maven Central • jCenter • ᐺํՙପ
• Nexus • Artifactory
maven vs jcenter • jcenter ฎӞӻ mavenCentral ጱ᩻ᵞ҅jcenter ᬮ۱ތԧٌ՜ maven
۱ • jcenter ٍํๅঅጱ cdn҅ἕᦊඪ೮ https҅ᬯӻԭᨕྈํ य़ޕێ • bintrayҁjcenter ጱ๐ۓ׀ࠟ҂ᤒᐏ jcenter ٍํๅঅጱᚆ • ํහഝᤒก bintray jcenter ܛአๅጱࣈᖨਂᑮᳵ • ๅঅጱԻኴᶎ҅ݢզ jcenter ݻ mavenCentral ݶྍ۱ ݇ᘍ಼ Android Studio ԏࢥғMaven ՙପֵአӨᐺํՙପ൫ୌ gradle vs maven
۱ ቘᥴړݎՙପᵱᥝጱᕟ౮᮱ړғ • .pom ᕟկጱൈᬿਧԎ xml կ • .aar ۱ތᩒრጱ
jar կ҅አԭ Android • source.jar ᕟկጱრᎱ • javadoc.jar ᕟկጱ API
ࣗӣ ԅՋԍ౯۱ጱᕟկ෫ဩֵአҘ ׁᩢ౯ࣁᕟկጱ build.gradle ૪ᕪႲےԧࠡѺ
Maven चᕟ౮ • artifact • group • version • dependency
None
None
ݎᐺํՙପ • ๐ۓՙପአ Artifactory • ૡᑕᕟկᵱᥝෛी gradle ൊկ • maven-plugins
ҁٖᗝ҂ • com.jfrog.artifactory ҁᵱႲے BuildScript ׁᩢ҂
None
None
None
None
ᶱፓفᐺํᕟկ
• ໑ፓ୯ build.gradle Ⴒے maven ՙପ • ؟ྋଉӞفׁᩢᕟկ
ࣗࢥ ֦݈ࣗᇂѺѺ໑෫ဩӥׁᩢѺ AS ྯེᅩڋ Sync Now ᮷ಸᲙѺѺѺѺѺ
ᵙ᭲ฎ VPN ᳯ᷌Ҙ ༄ັing........ഭᴻѺ ᵙ᭲ฎࣈᗑᕶᳯ᷌Ҙ ༄ັing........ഭᴻѺ ᵙ᭲ฎ 227 ᴠᅉाᳯ᷌Ҙ ༄ັing........ഭᴻѺ
ᵙ᭲ฎ artifactory ᛔᴴᳯ᷌Ҙ ༄ັing........ഭᴻѺ ᵙ᭲ฎ.....ঌᢓѺѺ
None
None
Q&A