SlideShare a Scribd company logo
1 of 24
Download to read offline
http://www.gradlesummit.com
Android’s New Build
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Gradleware
• Build Automation
• Continuous Delivery
• Gradle
• Builds as easy and configurable as possible
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Gradleware Summit
2013
• Santa Clara, CA
• June 13-14th
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Gradle Summit 2013
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
A
B
i
ii
iii
iv
v
X
Y
JOIN JOIN
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
AiX
BiX
AiiX
BiiX
AiiiX
BiiiX
AivX
BivX
AvX
BvX
AiY
BiY
AiiY
BiiY
AiiiY
BiiiY
AivY
BivY
AvY
BvY
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Free
Paid
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Prod
QA
QA
Prod
Free
Prod
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Prod QA
QA
Prod
Free
Paid
QA
ARM x86
x86ARM
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
A/
A/i/
A/i/X/build.xml
A/i/Y/build.xml
A/
A/ii/
A/ii/X/build.xml
A/ii/Y/build.xml
A/
A/iii/
A/iii/X/build.xml
A/iii/Y/build.xml
No.
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
A/
A/i/
pom.xml
A/
A/ii/
pom.xml No.
A/
A/ii/
pom.xml
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Gradle
• Support for
• Product Flavors
• Build Types
• BuildVariant
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Product Flavors
• Free vs. Paid
• Almost every successful application uses
this model
• Source Code + Resource Overlay
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
Build Type
• Debug, Release
• Debug flag
• Proguard Options
• Debug Signing
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
BuildVariant
• ARM, x86
• Many different devices (more than just
mobile)
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.build:gradle:0.2'
}
}
apply plugin: 'android'
android {
target = ‘android-15’
defaultConfig {
versionCode = 12
versionName = “2.0”
}
}
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
android {
defaultConfig {
versionCode = 12
minSdkVersion = 8
}
productFlavors {
free {
packageName = “com.example.myapp.free”
minSdkVersion = 10
}
paid {
packageName = “com.example.myapp.paid”
versionCode = 14
}
}
}
Wednesday, May 15, 13
http://www.gradlesummit.com @gradleware
android {
buildTypes {
debug {
packageNameSuffix = “.debug”
}
staging {
packageNameSuffix = “.staging”
debuggable = true
debugSigned = true
}
}
}
Wednesday, May 15, 13

More Related Content

What's hot

Bending the rules to build a 3rd party web app
Bending the rules to build a 3rd party web appBending the rules to build a 3rd party web app
Bending the rules to build a 3rd party web appStephen Purcell
 
webapp 8/29
webapp 8/29webapp 8/29
webapp 8/29Thinkful
 
First 2 slides where found
First 2 slides where foundFirst 2 slides where found
First 2 slides where foundzoology1
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimizationclub46mass
 
Build a webapp la september 6
Build a webapp la september 6Build a webapp la september 6
Build a webapp la september 6Thinkful
 
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users MakeFinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users MakeDustin Hartzler
 
How To Succeed In Web Design
How To Succeed In Web DesignHow To Succeed In Web Design
How To Succeed In Web DesignShawn Rider
 
Automate, Create Tools, & Test Ideas Quickly with Google Apps Script
Automate, Create Tools, & Test Ideas Quickly with Google Apps ScriptAutomate, Create Tools, & Test Ideas Quickly with Google Apps Script
Automate, Create Tools, & Test Ideas Quickly with Google Apps ScriptCatalyst
 
Aurelia the next generation java script framework you will love
Aurelia   the next generation java script framework you will loveAurelia   the next generation java script framework you will love
Aurelia the next generation java script framework you will loveJakub Jedryszek
 
Early Stage Customer Acquisition (aka: Sales for Engineers)
Early Stage Customer Acquisition (aka: Sales for Engineers)Early Stage Customer Acquisition (aka: Sales for Engineers)
Early Stage Customer Acquisition (aka: Sales for Engineers)Cory von Wallenstein
 
The Metric System: Making Correct Performance Measurements.
The Metric System: Making Correct Performance Measurements.The Metric System: Making Correct Performance Measurements.
The Metric System: Making Correct Performance Measurements.All Things Open
 
Maximes Presentation For Rubyconf China 2009
Maximes Presentation For Rubyconf China 2009Maximes Presentation For Rubyconf China 2009
Maximes Presentation For Rubyconf China 2009Robbin Fan
 

What's hot (17)

Bending the rules to build a 3rd party web app
Bending the rules to build a 3rd party web appBending the rules to build a 3rd party web app
Bending the rules to build a 3rd party web app
 
webapp 8/29
webapp 8/29webapp 8/29
webapp 8/29
 
First 2 slides where found
First 2 slides where foundFirst 2 slides where found
First 2 slides where found
 
Week 2
Week 2Week 2
Week 2
 
Adobe Touch Apps
Adobe Touch AppsAdobe Touch Apps
Adobe Touch Apps
 
Search Engine Optimization
Search Engine OptimizationSearch Engine Optimization
Search Engine Optimization
 
EdwardsCPSY8404-9
EdwardsCPSY8404-9EdwardsCPSY8404-9
EdwardsCPSY8404-9
 
Build a webapp la september 6
Build a webapp la september 6Build a webapp la september 6
Build a webapp la september 6
 
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users MakeFinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
FinCon15 - You're Doing It Wrong; 13 Mistakes WordPress Users Make
 
Week4
Week4Week4
Week4
 
How To Succeed In Web Design
How To Succeed In Web DesignHow To Succeed In Web Design
How To Succeed In Web Design
 
Automate, Create Tools, & Test Ideas Quickly with Google Apps Script
Automate, Create Tools, & Test Ideas Quickly with Google Apps ScriptAutomate, Create Tools, & Test Ideas Quickly with Google Apps Script
Automate, Create Tools, & Test Ideas Quickly with Google Apps Script
 
Best job search websites in world
Best job search websites in worldBest job search websites in world
Best job search websites in world
 
Aurelia the next generation java script framework you will love
Aurelia   the next generation java script framework you will loveAurelia   the next generation java script framework you will love
Aurelia the next generation java script framework you will love
 
Early Stage Customer Acquisition (aka: Sales for Engineers)
Early Stage Customer Acquisition (aka: Sales for Engineers)Early Stage Customer Acquisition (aka: Sales for Engineers)
Early Stage Customer Acquisition (aka: Sales for Engineers)
 
The Metric System: Making Correct Performance Measurements.
The Metric System: Making Correct Performance Measurements.The Metric System: Making Correct Performance Measurements.
The Metric System: Making Correct Performance Measurements.
 
Maximes Presentation For Rubyconf China 2009
Maximes Presentation For Rubyconf China 2009Maximes Presentation For Rubyconf China 2009
Maximes Presentation For Rubyconf China 2009
 

Viewers also liked

Es posible la Revolución Educativa sin la integración de herramientas tecnoló...
Es posible la Revolución Educativa sin la integración de herramientas tecnoló...Es posible la Revolución Educativa sin la integración de herramientas tecnoló...
Es posible la Revolución Educativa sin la integración de herramientas tecnoló...Magdalena Balcacer
 
Expresiones regulares y gramáticas
Expresiones regulares y gramáticasExpresiones regulares y gramáticas
Expresiones regulares y gramáticasSantiago Ramirez
 
Revolucion educativa y beneficios del aprendizaje en la nube
Revolucion educativa y beneficios del aprendizaje en la nubeRevolucion educativa y beneficios del aprendizaje en la nube
Revolucion educativa y beneficios del aprendizaje en la nubeYolanda Corral
 
Es posible la revolución educativa sin la integración
Es posible la revolución educativa sin la integraciónEs posible la revolución educativa sin la integración
Es posible la revolución educativa sin la integraciónangelamenasantana
 
Significado de la Metodología PACIE
Significado de la Metodología PACIESignificado de la Metodología PACIE
Significado de la Metodología PACIEPedro Camacho
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksSlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShareSlideShare
 

Viewers also liked (10)

Es posible la Revolución Educativa sin la integración de herramientas tecnoló...
Es posible la Revolución Educativa sin la integración de herramientas tecnoló...Es posible la Revolución Educativa sin la integración de herramientas tecnoló...
Es posible la Revolución Educativa sin la integración de herramientas tecnoló...
 
Revolucion educativa
Revolucion educativaRevolucion educativa
Revolucion educativa
 
Expresiones regulares y gramáticas
Expresiones regulares y gramáticasExpresiones regulares y gramáticas
Expresiones regulares y gramáticas
 
Revolucion educativa y beneficios del aprendizaje en la nube
Revolucion educativa y beneficios del aprendizaje en la nubeRevolucion educativa y beneficios del aprendizaje en la nube
Revolucion educativa y beneficios del aprendizaje en la nube
 
Es posible la revolución educativa sin la integración
Es posible la revolución educativa sin la integraciónEs posible la revolución educativa sin la integración
Es posible la revolución educativa sin la integración
 
Significado de la Metodología PACIE
Significado de la Metodología PACIESignificado de la Metodología PACIE
Significado de la Metodología PACIE
 
La Web 2.0: Creación de Contenido Educativo Digital
La Web 2.0: Creación de Contenido Educativo Digital La Web 2.0: Creación de Contenido Educativo Digital
La Web 2.0: Creación de Contenido Educativo Digital
 
Mooc
MoocMooc
Mooc
 
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & TricksHow to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 

Recently uploaded

Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024Stephen Perrenod
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxFIDO Alliance
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Skynet Technologies
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPTiSEO AI
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...FIDO Alliance
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?Paolo Missier
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 

Recently uploaded (20)

Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 

Mobile macarons