Basic Configuration

Demonstrate commonly used configurations

Overview

You'll clone a GitHub repository that contains a project template and you'll build the project using the Gradle Wrapper script.


The script will install Gradle and Gradle will install Eta and Etlas.

Requirements

You must have the following installed on your system:


Installation

  1. Fire up your terminal and type the following commands:


    $ git clone https://github.com/typelead/eta-init
    $ cd eta-init
    

    Linux/OS X

    $ ./gradlew run
    

    Windows

    $ gradlew.bat run
    

  2. If this is your first time using Eta on your system, you will get prompted about your preference for telemetry.


    If you are fine with sending metrics, you can run the following commands:


    Linux/OS X

    $ ./gradlew run -PetaSendMetrics=true
    

    Windows

    $ gradlew.bat run -PetaSendMetrics=true
    

    If you are not fine with sending metrics, you can replace true with false in the commands listed above.


    NOTE: You only need to send the -P argument the first time you express your preference.


Next Section

In the next section, we will cover the basic concepts of Gradle.