官术网_书友最值得收藏!

Gradle

We must also have Gradle installed on our system. Gradle is a modern build tool that got popularity with Android. It uses Groovy-based DSL instead of XML files and mixes declarative and imperative type of build configuration. With Gradle you can define dependencies and project properties, and also you can write functions. We will leverage Gradle to build our deployment system, so with only one command we will be able to deploy all our software to cloud.

Throughout the book, we will use the Gradle wrapper that locks the Gradle version for the project, thus providing integrity between different teams. However, in order to run the gradle wrapper task, which will create the gradle wrapper files in our project, we have to have at least one Gradle version locally in our system.

If you do not have it already, execute the following:

    $ curl -s https://get.sdkman.io | bash  

Then, open a new terminal and type this:

    $ sdk install gradle 2.14  

This will install the Gradle 2.14 version.

主站蜘蛛池模板: 木兰县| 凌云县| 惠安县| 武义县| 包头市| 西畴县| 南召县| 泰顺县| 澳门| 石狮市| 义乌市| 龙里县| 新宁县| 奉新县| 河北省| 廉江市| 沽源县| 五华县| 东光县| 慈利县| 阜平县| 华容县| 建水县| 泰兴市| 五华县| 万山特区| 秦皇岛市| 榆树市| 莱阳市| 北流市| 蕲春县| 团风县| 夏津县| 城口县| 六盘水市| 江华| 昆山市| 峡江县| 沂源县| 商南县| 宁南县|