gradle : Building Android Apps Mobel Meetup

Size: px
Start display at page:

Download "gradle : Building Android Apps Mobel Meetup"

Transcription

1 gradle : Building Android Apps Mobel Meetup

2 Biography Working with Java since the dark ages at Progress Software, Alcatel-Lucent, Interested in science and technology Alex Van Boxel Software Architect - Vente-Exclusive.com

3 Build History a brief history of java build systems

4 In the beginning there was nothing

5 Bo ttl 20 ed i 00 n created Ant and he saw it as messy

6 Ant example <project> <target name="clean"> <delete dir="build"/> </target> <target name="compile"> <mkdir dir="build/classes"/> <javac srcdir="src" destdir="build/classes"/> </target> <target name="jar"> <mkdir dir="build/jar"/> <jar destfile="build/jar/helloworld.jar" basedir="build/classes"> <manifest> <attribute name="main-class" value="io.mobel.helloworld"/> </manifest> </jar> </target> <target name="run"> <java jar="build/jar/helloworld.jar" fork="true"/> </target> </project>

7 Bo ttl 20 ed i 01 n + created Maven and he saw it was better, but...

8 Maven example <project xmlns=" xmlns:xsi=" xsi:schemalocation=" <modelversion>4.0.0</modelversion> <groupid>com.mycompany.app</groupid> <artifactid>my-app</artifactid> <version>1.0-snapshot</version> <packaging>jar</packaging> <name>maven Quick Start Archetype</name> <url> <dependencies> <dependency> <groupid>junit</groupid> <artifactid>junit</artifactid> <version>4.8.2</version> <scope>test</scope> </dependency> </dependencies> </project>

9 Maven s build by convention my-app -- pom.xml `-- src -- main `-- java `-- com `-- mycompany `-- app `-- App.java `-- test `-- java `-- com `-- mycompany `-- app `-- AppTest.java

10 Bo ttl 20 ed i 11 n + created Gradle build files in XML is so 80 s

11 Out of the box features Declarative Syntax Build-By-Convention Task-graph Multi-Project Builds Dependency Power Tool Groovy

12 Android Build System = Gradle + Android Gradle Plugin + IDE integration

13 Why a new Build System Customizable and extensible but stable API Unified across IDE and CI Standard and Advanced features

14 One Build System to Rule them All Same build system from IDE, command-line and continuous-integration environment

15 Advanced Tool Interface API IDEA and Studio Command Line MobelDemoProject git:(master) gradle tasks :tasks All tasks runnable from root project Android tasks androiddependencies - Displays the Android dependencies of the project signingreport - Displays the signing info for each variant Build tasks assemble - Assembles all variants of all applications and secondary packages. assembledebug - Assembles all Debug builds assemblefreegoogleio - Assembles all builds for flavor FreeGoogleIO assemblefreegoogleiodebug - Assembles the Debug build for flavor FreeGoogleIO assemblefreegoogleiorelease - Assembles the Release build for flavor FreeGoogleIO assemblefreegoogleiostaging - Assembles the Staging build for flavor FreeGoogleIO TeamCity Others Eclipse Atlassian Bamboo Jenkins etc...

16 Advanced Tool Interface API Integrates with Android Studio based on IDEA or works in Eclipse with Android Plugin...

17 Declarative Domain Specific Language The Android plugin extends the Gradle DSL

18 Gradle Skelet buildscript { repositories { mavencentral() } dependencies { classpath 'com.android.tools.build:gradle:0.6.1' } } apply plugin: 'android' android { compilesdkversion 17 buildtoolsversion 18.1 }

19 Convention over Configuration my-app -- build.gradle `-- src -- main `-- java `-- test `-- java

20 Convention over Configuration my-app -- build.gradle `-- src -- main -- AndroidManifest.xml -- res -- assets -- aidl -- rs -- jni `-- java -- instrumentedtest -- res -- assets -- aidl -- rs -- jni `-- java `-- test `-- java

21 Gradle Tasks gradle <task> [<task>] gradle tasks [--all] assemble assemble the project(s) check run all the checks build assemble + check clean clean all the output

22 Build Variant = Build Types + Product Flavors

23 DSL: Build Types buildtypes { release { signingconfig signingconfigs.release } debug { packagenamesuffix ".debug" versionnamesuffix = ".D" debuggable true } staging.initwith(buildtypes.debug) staging { packagenamesuffix ".staging" buildconfig "private final static String server = \"staging.example.com\"" } }

24 DSL: Signing Configuration signingconfigs { release { storefile file("src/mobel.keystore") storepassword "mobelmobel" keyalias "release" keypassword "mobelmobel" } } buildtypes { release { signingconfig signingconfigs.release }

25 Convention over Configuration my-app -- build.gradle `-- src -- main -- AndroidManifest.xml -- res -- assets -- aidl -- rs -- jni `-- java -- debug staging instrumentedtest `-- test `-- java

26 DSL: Build Types debug release staging debug release staging

27 DSL: Product Flavor Example without groups productflavors { Mobel { } GoogleIO { } Example with groups flavorgroups 'version','session' productflavors { Mobel { flavorgroup 'session' } GoogleIO { flavorgroup 'session' } free { flavorgroup 'version' } paid { flavorgroup 'version' } }

28 Build Type + Product Flavor debug release mobel MobelDebug MobelRelease googleio GoogleIODebug GoogleIORelease and Flavor Groups free pail debug release mobel FreeMobelDebug FreeMobelRelease googleio FreeGoogleIODebug FreeGoogleIORelease mobel PaidMobelDebug PaidMobelRelease googleio PaidGoogleIODebug PaidGoogleIORelease

29 DEMO

30 Stable Build Environment keep is stable...

31 Stable Build Environment Gradle version use the gradle-wrapper Plugin version dependencies { classpath 'com.android.tools.build:gradle:0.6.1' }

32 Stable Build Environment Build tools android { compilesdkversion 18 buildtoolsversion "18.1.0" IDE doesn t build your project

33 Testing unit- and integration testing in the same project

34 Test Code Generation Testing Sources Sets Standard test/ Android instrumentedtest(flavor)/ Generated Manifest Special APK for library projects

35 Testing Scenarios check connecteddevices devicecheck

36 Test Server API use the cloud for parallel testing

37 Testing Server API Control your lab Services from TestDroid Manymo AppThwack image from AppThwack website

38 Dependency Management flexible and reuse your current repo s

39 Dependencies dependencies { compile 'com.android.support:support-v4:18.0.+' compile 'com.android.support:appcompat-v7:18.0.+' compile 'com.google.android.gms:play-services:3.2.65' compile 'com.google.android.gtm:tagmanager:3.0.0' compile 'joda-time:joda-time:2.3' compile 'com.fasterxml.jackson.core:jackson-core:2.2.3' compile 'com.fasterxml.jackson.core:jackson-databind:2.2.3' compile 'com.google.guava:guava:15.0' compile 'com.squareup.dagger:dagger:1.1.0' compile 'com.squareup.dagger:dagger-compiler:1.1.0' compile(group: 'de.keyboardsurfer.android.widget', name: 'crouton', version: '1.8.1') { transitive = false } }

40 Corporate Repositories Repo X Repo Y Maven Central Gradle Project Gradle Project Gradle Project Gradle Project Gradle Project Gradle Project Gradle Project Corporate Repository gradle.cache

41 Corporate Repository: Nexus Open Source repository manager...

42 Corporate Repository: Management Google Tag Manager example...

43 Reference Google I/O (on youtube) Follow +Alex Van Boxel ( web: )

... Fisheye Crucible Bamboo

... Fisheye Crucible Bamboo Sander Soo MSc Computer Science Oracle Certified Professional (Java SE) Nortal (email: sander.soo@nortal.com) Mercurial Java Spring Framework AngularJS Atlassian stack... Fisheye Crucible Bamboo 2 Manual

More information

JAVA V Tools in JDK Java, winter semester ,2017 1

JAVA V Tools in JDK Java, winter semester ,2017 1 JAVA Tools in JDK 1 Tools javac javadoc jdb javah jconsole jshell... 2 JAVA javac 3 javac arguments -cp -encoding -g debugging info -g:none -target version of bytecode (6, 7, 8, 9) --release -source version

More information

Package Management and Build Tools

Package Management and Build Tools Package Management and Build Tools Objektumorientált szoftvertervezés Object-oriented software design Dr. Balázs Simon BME, IIT Outline Ant+Ivy (Apache) Maven (Apache) Gradle Bazel (Google) Buck (Facebook)

More information

Software Engineering - Development Infrastructure 2. Kristjan Talvar Nortal

Software Engineering - Development Infrastructure 2. Kristjan Talvar Nortal Software Engineering - Development Infrastructure 2 Kristjan Talvar kristjan.talvar@nortal.com Nortal Topics Different build tools Gradle demo Github as collaboration tool About me Java dev for almost

More information

Software Building (Sestavování aplikací)

Software Building (Sestavování aplikací) Software Building (Sestavování aplikací) http://d3s.mff.cuni.cz Pavel Parízek parizek@d3s.mff.cuni.cz CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Outline Maven NuGet Gradle GNU build

More information

Construction: version control and system building

Construction: version control and system building Construction: version control and system building Paul Jackson School of Informatics University of Edinburgh The problem of systems changing Systems are constantly changing through development and use

More information

JAVA V Annotations Java, winter semester ,2016 1

JAVA V Annotations Java, winter semester ,2016 1 JAVA Annotations 1 Annotations (metadata) since Java 5 allow attaching information to elements of code (to classes, methods, fields,...) in general, can be used in the same places as visibility modifiers

More information

Set up Maven plugins in Eclipse. Creating a new project

Set up Maven plugins in Eclipse. Creating a new project In this tutorial, we describe steps for setting up a Maven project that uses libsbolj in Eclipse. Another tutorial follows this one which explains how we use SBOL 2.0 to represent the function of a state-of-the-art

More information

4. Check the site specified in previous step to work with, expand Maven osgi-bundles, and select slf4j.api,

4. Check the site specified in previous step to work with, expand Maven osgi-bundles, and select slf4j.api, In this tutorial, we describe steps for setting up a Maven project that uses libsbolj in Eclipse. Another tutorial follows this one which explains how we use SBOL 2 to represent the function of a state-of-the-art

More information

Session 24. Spring Framework Introduction. Reading & Reference. dev.to/lechatthecat/how-to-use-spring-boot-java-web-framework-withintellij-idea-202p

Session 24. Spring Framework Introduction. Reading & Reference. dev.to/lechatthecat/how-to-use-spring-boot-java-web-framework-withintellij-idea-202p Session 24 Spring Framework Introduction 1 Reading & Reference Reading dev.to/lechatthecat/how-to-use-spring-boot-java-web-framework-withintellij-idea-202p http://engineering.pivotal.io/post/must-know-spring-boot-annotationscontrollers/

More information

Produced by. Agile Software Development. Eamonn de Leastar

Produced by. Agile Software Development. Eamonn de Leastar Agile Software Development Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie pacemaker-console

More information

... Maven.... The Apache Maven Project

... Maven.... The Apache Maven Project .. Maven.. The Apache Maven Project T a b l e o f C o n t e n t s i Table of Contents.. 1 Welcome..................................................................... 1 2 Eclipse.......................................................................

More information

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Winter 2019 Introduction In this tutorial, we will learn how to install OpenCV for Android on your computer and how to build Android

More information

Continuous Delivery with Grade. Hans Dockter CEO Gradle Inc., Founder

Continuous Delivery with Grade. Hans Dockter CEO Gradle Inc., Founder Continuous Delivery with Grade Hans Dockter CEO Gradle Inc., Founder Gradle Twitter: @gradle, @hans_d hans@gradle.com New company Gradleware Inc. -> Gradle, Inc. A new domain gradle.com New Twitter handle

More information

AppFactory User Guide

AppFactory User Guide Kony AppFactory User Guide Release V8 SP3 Document Relevance and Accuracy This document is considered relevant to the release stated on this title page and the document version stated on the Revision History

More information

Fine-Tuning Your Development Environment

Fine-Tuning Your Development Environment Chapter 1 Fine-Tuning Your Development Environment Depending on what you re developing, you have different choices when it comes to the tools you can use. Your requirements on the development environment

More information

CSE 403 Lecture 11. Static Code Analysis. Reading: IEEE Xplore, "Using Static Analysis to Find Bugs"

CSE 403 Lecture 11. Static Code Analysis. Reading: IEEE Xplore, Using Static Analysis to Find Bugs CSE 403 Lecture 11 Static Code Analysis Reading: IEEE Xplore, "Using Static Analysis to Find Bugs" slides created by Marty Stepp http://www.cs.washington.edu/403/ FindBugs FindBugs: Java static analysis

More information

Simplified Build Management with Maven

Simplified Build Management with Maven Simplified Build Management with Maven Trasys Greece Kostis Kapelonis 11/06/2010 Menu Kitchen says hi!(motivation) Starters (Maven sample pom) Soup (Maven philosophy) Main dish (Library management) Side

More information

Hello Gradle. TestNG, Eclipse, IntelliJ IDEA. Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2.

Hello Gradle. TestNG, Eclipse, IntelliJ IDEA. Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2. Hello Gradle TestNG, Eclipse, IntelliJ IDEA Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2 Dávid Bedők 2017.09.18. v0.2 Dávid Bedők (UNI-OBUDA) Hello JavaEE 2017.09.18.

More information

Maven. INF5750/ Lecture 2 (Part II)

Maven. INF5750/ Lecture 2 (Part II) Maven INF5750/9750 - Lecture 2 (Part II) Problem! Large software projects usually contain tens or even hundreds of projects/modules Very different teams may work on different modules Will become messy

More information

S AMPLE CHAPTER IN ACTION. Benjamin Muschko. FOREWORD BY Hans Dockter MANNING

S AMPLE CHAPTER IN ACTION. Benjamin Muschko. FOREWORD BY Hans Dockter MANNING S AMPLE CHAPTER IN ACTION Benjamin Muschko FOREWORD BY Hans Dockter MANNING Gradle in Action by Benjamin Muschko Chapter 9 Copyright 2014 Manning Publications brief contents PART 1 INTRODUCING GRADLE...1

More information

Build automation. CSE260, Computer Science B: Honors Stony Brook University

Build automation. CSE260, Computer Science B: Honors Stony Brook University Build automation CSE260, Computer Science B: Honors Stony Brook University http://www.cs.stonybrook.edu/~cse260 2 Build Automation Build automation is the act of scripting or automating a wide variety

More information

JAVA. Java Management Extensions JMX

JAVA. Java Management Extensions JMX JAVA Java Management Extensions JMX Overview part of JDK since version 5 previously an external set of jar archives MBean = Managed Java Bean beans intended for managing something (device, application,

More information

Build Automation Kurt Christensen

Build Automation Kurt Christensen Build Automation Kurt Christensen Kurt Christensen Computer programmer (17 years) and software development coach (9 years) github.com/projectileboy Available for purchase at: kurt.j.christensen@gmail.com

More information

Maven Introduction to Concepts: POM, Dependencies, Plugins, Phases

Maven Introduction to Concepts: POM, Dependencies, Plugins, Phases arnaud.nauwynck@gmail.com Maven Introduction to Concepts: POM, Dependencies, Plugins, Phases This document: http://arnaud-nauwynck.github.io/docs/maven-intro-concepts.pdf 31 M!! What is Maven? https://maven.apache.org/

More information

Hello Maven. TestNG, Eclipse, IntelliJ IDEA. Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2.

Hello Maven. TestNG, Eclipse, IntelliJ IDEA. Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2. Hello Maven TestNG, Eclipse, IntelliJ IDEA Óbuda University, Java Enterprise Edition John von Neumann Faculty of Informatics Lab 2 Dávid Bedők 2017.09.19. v0.1 Dávid Bedők (UNI-OBUDA) Hello JavaEE 2017.09.19.

More information

Apache Maven. Created by anova r&d bvba

Apache Maven. Created by anova r&d bvba Apache Maven Created by anova r&d bvba http://www.anova.be This work is licensed under the Creative Commons Attribution 2.0 Belgium License. To view a copy of this license, visit http://creativecommons.org/licenses/by/2.0/be/

More information

Google Maps Troubleshooting

Google Maps Troubleshooting Google Maps Troubleshooting Before you go through the troubleshooting guide below, make sure that you ve consulted the class FAQ, Google s Map Activity Tutorial, as well as these helpful resources from

More information

EMBEDDED SYSTEMS PROGRAMMING Android NDK

EMBEDDED SYSTEMS PROGRAMMING Android NDK EMBEDDED SYSTEMS PROGRAMMING 2015-16 Android NDK WHAT IS THE NDK? The Android NDK is a set of cross-compilers, scripts and libraries that allows to embed native code into Android applications Native code

More information

Software Development. COMP220/COMP285 Seb Coope Ant: Structured Build

Software Development. COMP220/COMP285 Seb Coope Ant: Structured Build Software Development COMP220/COMP285 Seb Coope Ant: Structured Build These slides are mainly based on Java Development with Ant - E. Hatcher & S.Loughran. Manning Publications, 2003 Imposing Structure

More information

Gant as Ant and Maven Replacement

Gant as Ant and Maven Replacement Gant as Ant and Maven Replacement Dr Russel Winder Concertant LLP russel.winder@concertant.com russel@russel.org.uk Groovy and Grails User Group 2007 Russel Winder 1 Aims and Objectives Convince people

More information

Unit Testing. CS 240 Advanced Programming Concepts

Unit Testing. CS 240 Advanced Programming Concepts Unit Testing CS 240 Advanced Programming Concepts F-22 Raptor Fighter 2 F-22 Raptor Fighter Manufactured by Lockheed Martin & Boeing How many parts does the F-22 have? 3 F-22 Raptor Fighter What would

More information

EPL451: Data Mining on the Web Lab 6

EPL451: Data Mining on the Web Lab 6 EPL451: Data Mining on the Web Lab 6 Pavlos Antoniou Γραφείο: B109, ΘΕΕ01 University of Cyprus Department of Computer Science What is Mahout? Provides Scalable Machine Learning and Data Mining Runs on

More information

BlackBerry Developer Global Tour. Android. Table of Contents

BlackBerry Developer Global Tour. Android. Table of Contents BlackBerry Developer Global Tour Android Table of Contents Page 2 of 55 Session - Set Up the BlackBerry Dynamics Development Environment... 5 Overview... 5 Compatibility... 5 Prepare for Application Development...

More information

Version 7.6 PREEMPTIVE SOLUTIONS DASHO. User Guide

Version 7.6 PREEMPTIVE SOLUTIONS DASHO. User Guide Version 7.6 PREEMPTIVE SOLUTIONS DASHO User Guide 1998-2015 by PreEmptive Solutions, LLC All rights reserved. Manual Version 7.6 www.preemptive.com TRADEMARKS DashO, Overload-Induction, the PreEmptive

More information

Android tips. which simplify your life

Android tips. which simplify your life Android tips which simplify your life Android Studio beta gradle build system maven-based build dependencies build variants code completion, refactoring, templates graphical template editor Gradle apply

More information

Introduction to Software Engineering: Tools and Environments. Session 9. Oded Lachish

Introduction to Software Engineering: Tools and Environments. Session 9. Oded Lachish Introduction to Software Engineering: Tools and Environments Session 9 Oded Lachish Room: Mal 405 Visiting Hours: Wednesday 17:00 to 20:00 Email: oded@dcs.bbk.ac.uk Module URL: http://www.dcs.bbk.ac.uk/~oded/tools2012-2013/web/tools2012-2013.html

More information

Ant. Originally ANT = Another Neat Tool. Created by James Duncan Davidson Now an Apache open-source project

Ant. Originally ANT = Another Neat Tool. Created by James Duncan Davidson Now an Apache open-source project Ant Originally ANT = Another Neat Tool Created by James Duncan Davidson Now an Apache open-source project Ants are amazing insects Can carry 50 times their own weight Find the shortest distance around

More information

Maven POM project modelversion groupid artifactid packaging version name

Maven POM project modelversion groupid artifactid packaging version name Maven The goal of this document is to introduce the Maven tool. This document just shows some of the functionalities of Maven. A complete guide about Maven can be found in http://maven.apache.org/. Maven

More information

Jaxb2 Maven Plugin Could Not Process Schema

Jaxb2 Maven Plugin Could Not Process Schema Jaxb2 Maven Plugin Could Not Process Schema The JAXB2 Maven Plugin project was moved to GitHub. These pages are no longer maintained and therefore do not provide the actual information. Resource entries,

More information

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie Android Google Services" Part 1 Google+

More information

maven Build System Making Projects Make Sense

maven Build System Making Projects Make Sense maven Build System Making Projects Make Sense Maven Special High Intensity Training Zen Questions Why are we here? What is a project? What is Maven? What is good? What is the sound of one hand clapping?

More information

STQA Mini Project No. 1

STQA Mini Project No. 1 STQA Mini Project No. 1 R (2) C (4) V (2) T (2) Total (10) Dated Sign 1.1 Title Mini-Project 1: Create a small application by selecting relevant system environment/ platform and programming languages.

More information

The Workshop. Slides (you have a copy in the zip) Practical labs Ask questions

The Workshop. Slides (you have a copy in the zip) Practical labs Ask questions Gradle Workshop The Workshop Slides (you have a copy in the zip) Practical labs Ask questions The Labs Pairing is encouraged Solutions are available (but avoid cheating) Take your time and experiment First

More information

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.

Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings. Hello World Lab Objectives: Create new Android project in Android Studio Add Button and TextView to layout Learn how to use buttons to call methods. Modify strings.xml What to Turn in: The lab evaluation

More information

EMBEDDED SYSTEMS PROGRAMMING Android NDK

EMBEDDED SYSTEMS PROGRAMMING Android NDK EMBEDDED SYSTEMS PROGRAMMING 2017-18 Android NDK WHAT IS THE NDK? The Android NDK is a set of cross-compilers, scripts and libraries that allows to embed native code into Android applications Native code

More information

Example ear-testing can be browsed at https://github.com/apache/tomee/tree/master/examples/ear-testing

Example ear-testing can be browsed at https://github.com/apache/tomee/tree/master/examples/ear-testing EAR Testing Example ear-testing can be browsed at https://github.com/apache/tomee/tree/master/examples/ear-testing The goal of this example is to demonstrate how maven projects might be organized in a

More information

Programming Concepts and Skills. Creating an Android Project

Programming Concepts and Skills. Creating an Android Project Programming Concepts and Skills Creating an Android Project Getting Started An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy

More information

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10" 9" 8" No."of"students"vs."no.

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10 9 8 No.ofstudentsvs.no. Compile, execute, debugging THE ECLIPSE PLATFORM 30" Ques+ons'with'no'answer' What"is"the"goal"of"compila5on?" 25" What"is"the"java"command"for" compiling"a"piece"of"code?" What"is"the"output"of"compila5on?"

More information

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology

Produced by. Mobile Application Development. David Drohan Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development Produced by David Drohan (ddrohan@wit.ie) Department of Computing & Mathematics Waterford Institute of Technology http://www.wit.ie Android Google Services" Part 1 Google+

More information

What is Maven? Apache Maven is a software project management and comprehension tool (build, test, packaging, reporting, site, deploy).

What is Maven? Apache Maven is a software project management and comprehension tool (build, test, packaging, reporting, site, deploy). Plan What is Maven? Links : mvn command line tool POM : 1 pom.xml = 1 artifact POM POM Inheritance Standard Directory Layout Demo on JMMC projects Plugins Conclusion What is Maven? Apache Maven is a software

More information

Setting up a Maven Project

Setting up a Maven Project Setting up a Maven Project This documentation describes how to set up a Maven project for CaptainCasa. Please use a CaptainCasa version higher than 20180102. There were quite some nice changes which were

More information

Tutorial on OpenCV for Android Setup

Tutorial on OpenCV for Android Setup Tutorial on OpenCV for Android Setup EE368/CS232 Digital Image Processing, Winter 2018 Introduction In this tutorial, we will learn how to install OpenCV for Android on your computer and how to build Android

More information

Enter the Gradle Hans Dockter CEO, Gradleware Founder Gradle

Enter the Gradle Hans Dockter CEO, Gradleware Founder Gradle Enter the Gradle Hans Dockter CEO, Gradleware Founder Gradle hans.dockter@gradleware.com What you will learn Declarativeness Extensibility Performance Features Build Integration Build Migration Testing

More information

MANUAL DO ALUNO DE ENGENHARIA DE SOFTWARE

MANUAL DO ALUNO DE ENGENHARIA DE SOFTWARE MANUAL DO ALUNO DE ENGENHARIA DE SOFTWARE [Document Subtitle] João Dias Pereira Instituto Superior Técnico ES 2014/15 [ 1 / 50 ] Introduction This document presents the several tools and technologies that

More information

This tutorial explains how you can use Gradle as a build automation tool for Java as well as Groovy projects.

This tutorial explains how you can use Gradle as a build automation tool for Java as well as Groovy projects. About the Tutorial Gradle is an open source, advanced general purpose build management system. It is built on ANT, Maven, and lvy repositories. It supports Groovy based Domain Specific Language (DSL) over

More information

Appium mobile test automation

Appium mobile test automation Appium mobile test automation for Google Android and Apple ios Last updated: 10 July 2017 Pepgo Limited, 71-75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom Contents About this document...

More information

Advanced Dependency Management with Gradle. Benjamin Muschko, Gradle Inc.

Advanced Dependency Management with Gradle. Benjamin Muschko, Gradle Inc. Advanced Dependency Management with Gradle Benjamin Muschko, Gradle Inc. Custom requirements in complex builds Dependency management requires conscious decisions and trade- offs Transitive dependencies

More information

A Journey in So,ware Development An overview of methods and tools (part 2)

A Journey in So,ware Development An overview of methods and tools (part 2) A Journey in So,ware Development An overview of methods and tools (part 2) Mathieu Acher Maître de Conférences mathieu.acher@irisa.fr Material h=ps://github.com/acherm/teaching/tree/master/pdl/ 2 A1 and

More information

Apache Isis Maven plugin

Apache Isis Maven plugin Apache Isis Maven plugin Table of Contents 1. Apache Isis Maven plugin................................................................. 1 1.1. Other Guides.........................................................................

More information

Software Building (Sestavování aplikací)

Software Building (Sestavování aplikací) Software Building (Sestavování aplikací) http://d3s.mff.cuni.cz Pavel Parízek parizek@d3s.mff.cuni.cz CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics What is software building Transforming

More information

Topics covered. Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session. Maven 2

Topics covered. Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session. Maven 2 Maven Maven 1 Topics covered Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session Maven 2 Introduction to Maven Maven 3 What is Maven? A Java project management

More information

Creating Custom Builder Components

Creating Custom Builder Components 3 Creating Custom Builder Components Date of Publish: 2018-12-18 https://docs.hortonworks.com/ Contents...3 Adding Custom Processors...3 Creating Custom Processors...3 Registering Custom Processors with

More information

Fat / Uber jars - Using the Shade Plugin

Fat / Uber jars - Using the Shade Plugin Fat / Uber jars - Using the Shade Plugin Shading the container and the application has some challenges like merging correctly resources (META-INF/services/ typically). Here is a maven shade plugin configuration

More information

Selenium Testing Course Content

Selenium Testing Course Content Selenium Testing Course Content Introduction What is automation testing? What is the use of automation testing? What we need to Automate? What is Selenium? Advantages of Selenium What is the difference

More information

EMBEDDED SYSTEMS PROGRAMMING Application Basics

EMBEDDED SYSTEMS PROGRAMMING Application Basics EMBEDDED SYSTEMS PROGRAMMING 2015-16 Application Basics APPLICATIONS Application components (e.g., UI elements) are objects instantiated from the platform s frameworks Applications are event driven ( there

More information

C++ Binary Dependency Management with Gradle. Hugh Greene

C++ Binary Dependency Management with Gradle. Hugh Greene C++ Binary Dependency Management with Gradle Hugh Greene Getting consistent versions of things needed to build your software and to use it 2 Why? Saves time Identical binaries confidence

More information

DevOps and Maven. Eamonn de Leastar Dr. Siobhán Drohan Produced by:

DevOps and Maven. Eamonn de Leastar Dr. Siobhán Drohan Produced by: DevOps and Maven Produced by: Eamonn de Leastar (edeleastar@wit.ie) Dr. Siobhán Drohan (sdrohan@wit.ie) Department of Computing and Mathematics http://www.wit.ie/ Dev team created a solution for production.

More information

Open Lecture Mobile Programming. Command Line Tools

Open Lecture Mobile Programming. Command Line Tools Open Lecture Mobile Programming Command Line Tools Agenda Setting up tools Android Debug Bridge (ADB) Gradle Setting up tools Find path of Android SDK Default paths: Windows - C:\Users\\AppData\Local\Android\sdk

More information

(Refer Slide Time: 0:48)

(Refer Slide Time: 0:48) Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Lecture 10 Android Studio Last week gave you a quick introduction to android program. You develop a simple

More information

Maven in the wild. An introduction to Maven

Maven in the wild. An introduction to Maven Maven in the wild An introduction to Maven Maven gone wild!! An introduction to Maven Presentation Summary An overview of Maven What Maven provides? Maven s principles Maven s benefits Maven s features

More information

Hello World. Lesson 1. Create your first Android. Android Developer Fundamentals. Android Developer Fundamentals

Hello World. Lesson 1. Create your first Android. Android Developer Fundamentals. Android Developer Fundamentals Hello World Lesson 1 1 1.1 Create Your First Android App 2 Contents Android Studio Creating "Hello World" app in Android Studio Basic app development workflow with Android Studio Running apps on virtual

More information

Packaging, automation, Continuous Integration

Packaging, automation, Continuous Integration LP IDSE - GL Packaging, automation, Continuous Integration Based on Simon Urli and Sébastien Mosser courses 18/10/2016 Cécile Camillieri/Clément Duffau 1 Previously. 2 Development process Develop features

More information

Gradle. The Basics and Beyond

Gradle. The Basics and Beyond Gradle The Basics and Beyond Contact Info Ken Kousen Kousen IT, Inc. ken.kousen@kousenit.com http://www.kousenit.com http://kousenit.wordpress.com (blog) @kenkousen Videos (available on Safari) O'Reilly

More information

GAVIN KING RED HAT CEYLON SWARM

GAVIN KING RED HAT CEYLON SWARM GAVIN KING RED HAT CEYLON SWARM CEYLON PROJECT A relatively new programming language which features: a powerful and extremely elegant static type system built-in modularity support for multiple virtual

More information

MAVEN SUCKS NO(W) REALLY

MAVEN SUCKS NO(W) REALLY MAVEN SUCKS NO(W) REALLY 26.01.2009 Building Projects with Maven vs. Ant by Karl Banke In the past few years Maven has surpassed Ant as the build tool for choice for many projects. Its adoption by most

More information

Action Developers Guide

Action Developers Guide Operations Orchestration Software Version: 10.70 Windows and Linux Operating Systems Action Developers Guide Document Release Date: November 2016 Software Release Date: November 2016 HPE Operations Orchestration

More information

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project.

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project. XML Tutorial XML stands for extensible Markup Language. XML is a markup language much like HTML used to describe data. XML tags are not predefined in XML. We should define our own Tags. Xml is well readable

More information

Lab 5 Exercise Build and continuous integration tools

Lab 5 Exercise Build and continuous integration tools Lund University Computer Science Mattias Nordahl Software development in teams EDAF45 2017 12 06 Lab 5 Exercise Build and continuous integration tools 1 Introduction This lab will give you some experience

More information

Repository Management and Sonatype Nexus. Repository Management and Sonatype Nexus

Repository Management and Sonatype Nexus. Repository Management and Sonatype Nexus Repository Management and Sonatype Nexus i Repository Management and Sonatype Nexus Repository Management and Sonatype Nexus ii Contents 1 Objectives 1 2 Development Today 1 3 But What Is A Component?

More information

Chapter 1. Installation and Setup

Chapter 1. Installation and Setup Chapter 1. Installation and Setup Gradle ( Ant) HSQLDB Hibernate Core Project Hierarchy 1 / 18 Getting an Gradle Distribution Why do I care? Ant vs Maven vs Gradle How do I do that? http://www.gradle.org/

More information

android-espresso #androidespresso

android-espresso #androidespresso android-espresso #androidespresso Table of Contents About 1 Chapter 1: Getting started with android-espresso 2 Remarks 2 Examples 2 Espresso setup instructions 2 Checking an Options Menu items (using Spoon

More information

VMware AirWatch Android SDK Technical Implementation Guide Empowering your enterprise applications with MDM capabilities using

VMware AirWatch Android SDK Technical Implementation Guide Empowering your enterprise applications with MDM capabilities using VMware AirWatch Android SDK Technical Implementation Guide Empowering your enterprise applications with MDM capabilities using the AirWatch SDK for Android AirWatch SDK v18.3 Have documentation feedback?

More information

#jenkinsconf. Jenkins user plugin. This time it's. Jenkins User Conference Israel. Shiran JFrog

#jenkinsconf. Jenkins user plugin. This time it's. Jenkins User Conference Israel. Shiran JFrog Jenkins user plugin This time it's Shiran Rubin @ShiranRU JFrog http://jfrog.com July 16, 2014 About me Groovy developer in JFrog. The home of We work with: But support many others. It's time to There's

More information

Migrating to Java 9 Modules. Paul Bakker

Migrating to Java 9 Modules. Paul Bakker Migrating to Java 9 Modules Paul Bakker Why care about modules? lib/nebula-4.0.12.jar:lib/netflix-gradle-lint-8.6.1.jar:lib/gretty-2.0.0.jar:lib/gradle-infamous-plugin-1.28.jar:lib/java-semver-0.9.0.jar:lib/guava-20.0.jar:lib/

More information

Groovy. Extending Java with scripting capabilities. Last updated: 10 July 2017

Groovy. Extending Java with scripting capabilities. Last updated: 10 July 2017 Groovy Extending Java with scripting capabilities Last updated: 10 July 2017 Pepgo Limited, 71-75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom Contents About Groovy... 3 Install Groovy...

More information

MAVEN MOCK TEST MAVEN MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST I http://www.tutorialspoint.com MAVEN MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Maven. You can download these sample mock tests at your local machine

More information

JavaFX.Next. Kevin Rushforth Oracle Johan Vos Gluon October Copyright 2018, Oracle and/or its affiliates. All rights reserved.

JavaFX.Next. Kevin Rushforth Oracle Johan Vos Gluon October Copyright 2018, Oracle and/or its affiliates. All rights reserved. JavaFX.Next Kevin Rushforth Oracle Johan Vos Gluon October 2018 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and

More information

TouchTest TM Android Tutorial

TouchTest TM Android Tutorial TouchTest TM Android Tutorial SOASTA TouchTest Android Tutorial 2015, SOASTA, Inc. All rights reserved. The names of actual companies and products mentioned herein may be the trademarks of their respective

More information

Overall Design of SSS Software

Overall Design of SSS Software of SSS Software Review of SSS Readiness for EVLA Shared Risk Observing, June 5, 2009 David M. Harland SSS Group Lead Introduction SSS Applications Philosophies Design Code Borrowing Process 2 of 19 Applications

More information

Pour aller plus loin : Programmation outillée

Pour aller plus loin : Programmation outillée Pour aller plus loin : Programmation outillée Denis Conan Revision : 2521 CSC4102 Télécom SudParis Décembre 2017 Pour aller plus loin : Programmation outillée Table des matières Pour aller plus loin :

More information

JavaBasel 16. René Gröschke. Gradle 3.0 and beyond. Gradle 3.0 and beyond - #javabasel

JavaBasel 16. René Gröschke. Gradle 3.0 and beyond. Gradle 3.0 and beyond - #javabasel JavaBasel 16 Gradle 3.0 and beyond René Gröschke Gradle 3.0 and beyond - #javabasel WHO AM I speaker { name 'René Gröschke' homebase 'Berlin, Germany' work 'Principal Engineer @ Gradle Inc.' twitter '@breskeby'

More information

Geo Catching Sprint #3 Kick-off

Geo Catching Sprint #3 Kick-off LP IDSE - GL Geo Catching Sprint #3 Kick-off 03/01/2017 Cécile Camillieri/Clément Duffau 1 GeoCatching sprint #1 Drawing of zones on a map User login and joining of a game Browser-based geolocation of

More information

This document providesanoverview ofthestepsrequired to implement an android app which will call the ACH android SDK.

This document providesanoverview ofthestepsrequired to implement an android app which will call the ACH android SDK. Contents Introduction... 2 Requirement... 2 Create Android Application... 3 Files detail in App... 6 Android SDK for Connect Pay... 10 How to call SDK... 10 Method Details... 12 Introduction This document

More information

Android Sdk Install Documentation Eclipse. Ubuntu >>>CLICK HERE<<<

Android Sdk Install Documentation Eclipse. Ubuntu >>>CLICK HERE<<< Android Sdk Install Documentation Eclipse Ubuntu 12.04 These are instructions to install the Android SDK onto Ubuntu. If you are only I'm skipping the Eclipse install, sorry if you wanted. Just trying

More information

Generating A Hibernate Mapping File And Java Classes From The Sql Schema

Generating A Hibernate Mapping File And Java Classes From The Sql Schema Generating A Hibernate Mapping File And Java Classes From The Sql Schema Internally, hibernate maps from Java classes to database tables (and from It also provides data query and retrieval facilities by

More information

JVM Survival Guide. Hadi Hariri

JVM Survival Guide. Hadi Hariri JVM Survival Guide Hadi Hariri This talk For What For Who 20 years of Java The Sun and The Oracle Java The Language Java The Virtual Machine Java The Ecosystem The Community Community Driven Not Vendor-Driven

More information

OAuth2 Autoconfig. Copyright

OAuth2 Autoconfig. Copyright Copyright Table of Contents... iii 1. Downloading... 1 1.1. Source... 1 1.2. Maven... 1 1.3. Gradle... 2 2. Authorization Server... 3 3. Resource Server... 4 I. Token Type in User Info... 5 II. Customizing

More information

Administering Apache Geronimo With Custom Server Assemblies and Maven. David Jencks

Administering Apache Geronimo With Custom Server Assemblies and Maven. David Jencks Administering Apache Geronimo With Custom Server Assemblies and Maven David Jencks 1 What is Geronimo? JavaEE 5 certified application server from Apache Modular construction Wires together other projects

More information

Gradle Leveraging Groovy for Building Java Applications. Hans Dockter Gradle Project Lead

Gradle Leveraging Groovy for Building Java Applications. Hans Dockter Gradle Project Lead Gradle Leveraging Groovy for Building Java Applications Hans Dockter Gradle Project Lead mail@dockter.biz About Me Founder and Project Lead of Gradle Independent Consultant Trainer for Skills Matter (TTD,

More information